|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprefuse.activity.Activity
prefuse.action.Action
prefuse.action.GroupAction
prefuse.action.layout.Layout
prefuse.action.layout.SpecifiedLayout
Layout Action that sets x, y coordinates for a visual item by simply looking them up from another data field.
Field Summary |
Fields inherited from class prefuse.action.layout.Layout |
m_anchor, m_bounds, m_bpts, m_insets, m_margin, m_tmpa, m_tmpb |
Fields inherited from class prefuse.action.GroupAction |
m_group |
Fields inherited from class prefuse.action.Action |
m_vis |
Fields inherited from class prefuse.activity.Activity |
DEFAULT_STEP_TIME, INFINITY |
Constructor Summary | |
SpecifiedLayout(java.lang.String group,
java.lang.String xField,
java.lang.String yField)
Create a new SpecifiedLayout. |
Method Summary | |
java.lang.String |
getFixedField()
Get the field to lookup to set the fixed property. |
java.lang.String |
getXField()
Get the field to lookup to set the x-coordinate. |
java.lang.String |
getYField()
Get the field to lookup to set the y-coordinate. |
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs. |
void |
setFixedField(java.lang.String fixedField)
Set the field to lookup to set the fixed property. |
void |
setXField(java.lang.String xField)
Set the field to lookup to set the x-coordinate. |
void |
setYField(java.lang.String yField)
Set the field to lookup to set the y-coordinate. |
Methods inherited from class prefuse.action.layout.Layout |
getLayoutAnchor, getLayoutBounds, setLayoutAnchor, setLayoutBounds, setMargin, setX, setY |
Methods inherited from class prefuse.action.GroupAction |
getGroup, setGroup |
Methods inherited from class prefuse.action.Action |
getVisualization, run, setVisualization |
Methods inherited from class prefuse.activity.Activity |
addActivityListener, alwaysRunAfter, cancel, fireActivityCancelled, fireActivityFinished, fireActivityScheduled, fireActivityStarted, fireActivityStepped, getDuration, getNextTime, getPace, getPacingFunction, getStartTime, getStepTime, getStopTime, isEnabled, isRunning, isScheduled, removeActivityListener, run, runAfter, runAt, setDuration, setEnabled, setPacingFunction, setStartTime, setStepTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SpecifiedLayout(java.lang.String group, java.lang.String xField, java.lang.String yField)
group
- the data group to layoutxField
- the field from which to lookup x coordinate valuesyField
- the field from which to lookup y coordinate valuesMethod Detail |
public java.lang.String getXField()
public void setXField(java.lang.String xField)
xField
- the x-value field to use. If null, this action
will not set the x-coordiante.public java.lang.String getYField()
public void setYField(java.lang.String yField)
yField
- the y-value field to use. If null, this action
will not set the y-coordiante.public java.lang.String getFixedField()
public void setFixedField(java.lang.String fixedField)
fixedField
- the fixed field to use. If null, this action
will not set the fixed field.public void run(double frac)
Action
run
in class GroupAction
Action.run(double)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |