public class VisibilityFilter extends GroupAction
m_groupDEFAULT_STEP_TIME, INFINITY| Constructor and Description |
|---|
VisibilityFilter(Predicate p)
Create a new VisibilityFilter.
|
VisibilityFilter(java.lang.String group,
Predicate p)
Create a new VisibilityFilter.
|
VisibilityFilter(Visualization vis,
java.lang.String group,
Predicate p)
Create a new VisibilityFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs.
|
protected void |
setPredicate(Predicate p)
Set the test predicate used to determine visibility.
|
getGroup, setGroupgetVisualization, 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, setStepTimepublic VisibilityFilter(Predicate p)
p - the test predicate used to determine visibilitypublic VisibilityFilter(java.lang.String group,
Predicate p)
group - the data group to processp - the test predicate used to determine visibilitypublic VisibilityFilter(Visualization vis, java.lang.String group, Predicate p)
vis - the Visualization to processgroup - the data group to processp - the test predicate used to determine visibilityprotected void setPredicate(Predicate p)
p - the test predicate to setpublic void run(double frac)
Actionrun in class GroupActionfrac - the fraction of this Action's duration that has elapsed.Action.run(double)