📄 repaintaction.java
字号:
package prefuse.action;
import prefuse.Visualization;
/**
* Issues a repaint request to a Visualization.
*
* @version 1.0
* @author <a href="http://jheer.org">jeffrey heer</a>
*/
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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -