|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.activity.Activity prefuse.action.Action prefuse.action.CompositeAction prefuse.action.ActionList
public class ActionList
The ActionList represents a chain of Actions that process VisualItems.
ActionList also implements the Action interface, so ActionLists can be placed
within other ActionList or ActionSwitch
instances,
allowing recursive composition of different sets of Actions.
Activity
,
Action
Field Summary |
---|
Fields inherited from class prefuse.action.CompositeAction |
---|
m_actions |
Fields inherited from class prefuse.action.Action |
---|
m_vis |
Fields inherited from class prefuse.activity.Activity |
---|
DEFAULT_STEP_TIME, INFINITY |
Constructor Summary | |
---|---|
ActionList()
Creates a new run-once ActionList. |
|
ActionList(long duration)
Creates a new ActionList of specified duration and default step time of 20 milliseconds. |
|
ActionList(long duration,
long stepTime)
Creates a new ActionList of specified duration and step time. |
|
ActionList(Visualization vis)
Creates a new run-once ActionList that processes the given Visualization. |
|
ActionList(Visualization vis,
long duration)
Creates a new ActionList which processes the given Visualization and has the specified duration and a default step time of 20 milliseconds. |
Method Summary | |
---|---|
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs. |
Methods inherited from class prefuse.action.CompositeAction |
---|
add, add, get, remove, remove, setVisualization, size |
Methods inherited from class prefuse.action.Action |
---|
getVisualization, run |
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 ActionList()
public ActionList(Visualization vis)
vis
- the Visualization
to process.public ActionList(long duration)
duration
- the duration of this Activity, in millisecondspublic ActionList(Visualization vis, long duration)
vis
- the Visualization
to process.duration
- the duration of this Activity, in millisecondspublic ActionList(long duration, long stepTime)
duration
- the duration of this Activity, in millisecondsstepTime
- the time to wait in milliseconds between executions
of the action listMethod Detail |
---|
public void run(double frac)
Action
run
in class Action
frac
- the fraction of this Action's duration that has elapsed.Action.run(double)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |