
prefuse.action.RepaintAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prefuse-vienna Show documentation
Show all versions of prefuse-vienna Show documentation
Prefuse is a set of software tools for creating rich interactive data visualizations in the Java programming language.
The newest version!
package prefuse.action;
import prefuse.Visualization;
/**
* Issues a repaint request to a Visualization.
*
* @version 1.0
* @author jeffrey heer
*/
public class RepaintAction extends Action {
/**
* Create a new RepaintAction.
*/
public RepaintAction() {
super();
}
/**
* Create a new RepaintAction.
* @param vis the Visualization to repaint
*/
public RepaintAction(Visualization vis) {
super(vis);
}
/**
* Calls the {@link prefuse.Visualization#repaint()} method on
* this Action's associated Visualization.
*/
public void run(double frac) {
getVisualization().repaint();
}
} // end of class RepaintAction
© 2015 - 2025 Weber Informatics LLC | Privacy Policy