public class ArrayAnimator extends ItemAction
m_predicate
m_group
DEFAULT_STEP_TIME, INFINITY
Constructor and Description |
---|
ArrayAnimator(java.lang.String group,
java.lang.String field)
Create a new ArrayAnimator that processes the given data group
and interpolates arrays in the given data field.
|
Modifier and Type | Method and Description |
---|---|
void |
process(VisualItem item,
double frac)
Processes an individual item.
|
getFilterPredicate, run, setFilterPredicate
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 ArrayAnimator(java.lang.String group, java.lang.String field)
group
- the data group to processfield
- the data field to interpolate. This should be an
interpolated field (have start and end instances as well as
the field name itself).public void process(VisualItem item, double frac)
ItemAction
process
in class ItemAction
item
- the VisualItem to processfrac
- the fraction of elapsed duration timeItemAction.process(prefuse.visual.VisualItem, double)
Copyright ? 2013 Regents of the University of California