net.ontopia.topicmaps.viz
Class VizigatorUser
java.lang.Object
java.util.TimerTask
net.ontopia.topicmaps.viz.VizigatorUser
- All Implemented Interfaces:
- java.lang.Runnable
public class VizigatorUser
- extends java.util.TimerTask
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INITIALLY_ENABLED
public static final boolean INITIALLY_ENABLED
- See Also:
- Constant Field Values
EXPAND_NODE
protected static final int EXPAND_NODE
- See Also:
- Constant Field Values
FOCUS_NODE
protected static final int FOCUS_NODE
- See Also:
- Constant Field Values
HIDE_NODE
protected static final int HIDE_NODE
- See Also:
- Constant Field Values
HIDE_EDGE
protected static final int HIDE_EDGE
- See Also:
- Constant Field Values
UNDO
protected static final int UNDO
- See Also:
- Constant Field Values
REDO
protected static final int REDO
- See Also:
- Constant Field Values
runCount
protected int runCount
hideNodeCount
protected int hideNodeCount
hideFocusNodeCount
protected int hideFocusNodeCount
hideEdgeCount
protected int hideEdgeCount
focusNodeCount
protected int focusNodeCount
expandNodeCount
protected int expandNodeCount
undoCount
protected int undoCount
redoCount
protected int redoCount
enabled
protected boolean enabled
VizigatorUser
public VizigatorUser(VizController controller,
long millis)
run
public void run()
- This method is called on schedule by the timer.
- Specified by:
run
in interface java.lang.Runnable
- Specified by:
run
in class java.util.TimerTask
useVizigator
protected void useVizigator()
pickRandomNode
protected TMAbstractNode pickRandomNode()
pickRandom
protected java.lang.Object pickRandom(java.util.Collection items)
pickRandomType
protected TopicIF pickRandomType()
pickRandomNode
protected TMAbstractNode pickRandomNode(TopicIF type)
setEnabled
public void setEnabled(boolean enabled)
- Enables/disables this motion killer.
Note: VizPanel uses the value of enabled to build menus, so this method
should only be changed (indirectly) from there.
getEnabled
public boolean getEnabled()
Copyright © 2000-2012 Ontopia.