prefuse.action.animate
Class AxisLabelAnimator

java.lang.Object
  extended by prefuse.activity.Activity
      extended by prefuse.action.Action
          extended by prefuse.action.GroupAction
              extended by prefuse.action.ItemAction
                  extended by prefuse.action.animate.AxisLabelAnimator

public class AxisLabelAnimator
extends ItemAction

Animator that interpolates positions, colors, and visibility status for metric axes.

Author:
jeffrey heer
See Also:
AxisLabelLayout

Field Summary
 
Fields inherited from class prefuse.action.ItemAction
m_predicate
 
Fields inherited from class prefuse.action.GroupAction
m_group
 
Fields inherited from class prefuse.action.Action
m_vis
 
Fields inherited from class prefuse.activity.Activity
DEFAULT_STEP_TIME, INFINITY
 
Constructor Summary
protected AxisLabelAnimator()
          Create a new AxisLabelAnimator.
  AxisLabelAnimator(java.lang.String group)
          Create a new AxisLabelAnimator for the given data group.
 
Method Summary
 void process(VisualItem item, double frac)
          Processes an individual item.
 void run(double frac)
          Runs this Action, triggering whatever processing this Action performs.
 
Methods inherited from class prefuse.action.ItemAction
getFilterPredicate, setFilterPredicate
 
Methods inherited from class prefuse.action.GroupAction
getGroup, setGroup
 
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
 

Constructor Detail

AxisLabelAnimator

protected AxisLabelAnimator()
Create a new AxisLabelAnimator.


AxisLabelAnimator

public AxisLabelAnimator(java.lang.String group)
Create a new AxisLabelAnimator for the given data group.

Parameters:
group - the data group to process
Method Detail

run

public void run(double frac)
Description copied from class: Action
Runs this Action, triggering whatever processing this Action performs. Subclass this method to create custom Actions.

Overrides:
run in class ItemAction
Parameters:
frac - the fraction of this Action's duration that has elapsed.
See Also:
GroupAction.run(double)

process

public void process(VisualItem item,
                    double frac)
Description copied from class: ItemAction
Processes an individual item.

Specified by:
process in class ItemAction
Parameters:
item - the VisualItem to process
frac - the fraction of elapsed duration time
See Also:
ItemAction.process(prefuse.visual.VisualItem, double)


Copyright © 2007 Regents of the University of California