|
||||||||||
| 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
public abstract class GroupAction
An Action that can be parameterized to process a particular group of items.
| Field Summary | |
|---|---|
protected java.lang.String |
m_group
A reference to the group to be processed by this Action |
| Fields inherited from class prefuse.action.Action |
|---|
m_vis |
| Fields inherited from class prefuse.activity.Activity |
|---|
DEFAULT_STEP_TIME, INFINITY |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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 |
| Field Detail |
|---|
protected java.lang.String m_group
| Constructor Detail |
|---|
public GroupAction()
Visualization.ALL_ITEMSpublic GroupAction(Visualization vis)
vis - the Visualization to processVisualization.ALL_ITEMS
public GroupAction(Visualization vis,
long duration)
vis - the Visualization to processduration - the duration of this ActionVisualization.ALL_ITEMS
public 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 process
public GroupAction(java.lang.String group,
long duration)
group - the name of the group to processduration - the duration of this Action
public 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 Action
public GroupAction(Visualization vis,
java.lang.String group)
vis - the Visualization to processgroup - the name of the group to process
public 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 Action
public 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 Action| Method Detail |
|---|
public java.lang.String getGroup()
public void setGroup(java.lang.String group)
group - the name of the group to processpublic abstract void run(double frac)
Action
run in class Actionfrac - 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 | |||||||||