public class SpecifiedLayout extends Layout
m_anchor, m_bounds, m_bpts, m_insets, m_margin, m_tmpa, m_tmpb
m_group
DEFAULT_STEP_TIME, INFINITY
Constructor and Description |
---|
SpecifiedLayout(java.lang.String group,
java.lang.String xField,
java.lang.String yField)
Create a new SpecifiedLayout.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getLayoutAnchor, getLayoutBounds, setLayoutAnchor, setLayoutBounds, setMargin, setX, setY
getGroup, setGroup
getVisualization, run, setVisualization
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
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 valuespublic 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
frac
- the fraction of this Action's duration that has elapsed.Action.run(double)
Copyright ? 2013 Regents of the University of California