prefuse.action
Class RepaintAction

java.lang.Object
  extended by prefuse.activity.Activity
      extended by prefuse.action.Action
          extended by prefuse.action.RepaintAction

public class RepaintAction
extends Action

Issues a repaint request to a Visualization.

Version:
1.0
Author:
jeffrey heer

Field Summary
 
Fields inherited from class prefuse.action.Action
m_vis
 
Fields inherited from class prefuse.activity.Activity
DEFAULT_STEP_TIME, INFINITY
 
Constructor Summary
RepaintAction()
          Create a new RepaintAction.
RepaintAction(Visualization vis)
          Create a new RepaintAction.
 
Method Summary
 void run(double frac)
          Calls the Visualization.repaint() method on this Action's associated Visualization.
 
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

RepaintAction

public RepaintAction()
Create a new RepaintAction.


RepaintAction

public RepaintAction(Visualization vis)
Create a new RepaintAction.

Parameters:
vis - the Visualization to repaint
Method Detail

run

public void run(double frac)
Calls the Visualization.repaint() method on this Action's associated Visualization.

Specified by:
run in class Action
Parameters:
frac - the fraction of this Action's duration that has elapsed.


Copyright © 2007 Regents of the University of California