public abstract class GroupAction extends Action
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
m_group
A reference to the group to be processed by this Action
|
DEFAULT_STEP_TIME, INFINITY| Constructor and Description |
|---|
GroupAction()
Create a new GroupAction that processes all groups.
|
GroupAction(java.lang.String group)
Create a new GroupAction that processes the specified group.
|
GroupAction(java.lang.String group,
long duration)
Create a new GroupAction that processes the specified group.
|
GroupAction(java.lang.String group,
long duration,
long stepTime)
Create a new GroupAction that processes the specified group.
|
GroupAction(Visualization vis)
Create a new GroupAction that processes all groups.
|
GroupAction(Visualization vis,
long duration)
Create a new GroupAction that processes all groups.
|
GroupAction(Visualization vis,
long duration,
long stepTime)
Create a new GroupAction that processes all groups.
|
GroupAction(Visualization vis,
java.lang.String group)
Create a new GroupAction that processes the specified group.
|
GroupAction(Visualization vis,
java.lang.String group,
long duration)
Create a new GroupAction that processes the specified group.
|
GroupAction(Visualization vis,
java.lang.String group,
long duration,
long stepTime)
Create a new GroupAction that processes the specified group.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGroup()
Get the name of the group to be processed by this Action.
|
abstract void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs.
|
void |
setGroup(java.lang.String group)
Sets the name of the group to be processed by this Action.
|
getVisualization, run, setVisualizationaddActivityListener, 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, setStepTimeprotected java.lang.String m_group
public GroupAction()
Visualization.ALL_ITEMSpublic GroupAction(Visualization vis)
vis - the Visualization to processVisualization.ALL_ITEMSpublic GroupAction(Visualization vis, long duration)
vis - the Visualization to processduration - the duration of this ActionVisualization.ALL_ITEMSpublic GroupAction(Visualization vis, long duration, long stepTime)
vis - the Visualization to processduration - the duration of this ActionstepTime - the time to wait between invocations of this ActionVisualization.ALL_ITEMSpublic GroupAction(java.lang.String group)
group - the name of the group to processpublic GroupAction(java.lang.String group,
long duration)
group - the name of the group to processduration - the duration of this Actionpublic GroupAction(java.lang.String group,
long duration,
long stepTime)
group - the name of the group to processduration - the duration of this ActionstepTime - the time to wait between invocations of this Actionpublic GroupAction(Visualization vis, java.lang.String group)
vis - the Visualization to processgroup - the name of the group to processpublic GroupAction(Visualization vis, java.lang.String group, long duration)
vis - the Visualization to processgroup - the name of the group to processduration - the duration of this Actionpublic GroupAction(Visualization vis, java.lang.String group, long duration, long stepTime)
vis - the Visualization to processgroup - the name of the group to processduration - the duration of this ActionstepTime - the time to wait between invocations of this Actionpublic java.lang.String getGroup()
public void setGroup(java.lang.String group)
group - the name of the group to processpublic abstract void run(double frac)
Actionrun in class Actionfrac - the fraction of this Action's duration that has elapsed.Action.run(double)