Package net.ontopia.topicmaps.viz
Class VizigatorUser
java.lang.Object
java.util.TimerTask
net.ontopia.topicmaps.viz.VizigatorUser
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected static final intprotected intprotected static final intprotected intprotected static final intprotected static final intprotected intprotected intprotected intstatic final booleanprotected static final intprotected intprotected intprotected static final intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected ObjectpickRandom(Collection items) protected TMAbstractNodeprotected TMAbstractNodepickRandomNode(TopicIF type) protected TopicIFvoidrun()This method is called on schedule by the timer.voidsetEnabled(boolean enabled) Enables/disables this motion killer.protected voidMethods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
INITIALLY_ENABLED
public static final boolean INITIALLY_ENABLED- See Also:
-
EXPAND_NODE
protected static final int EXPAND_NODE- See Also:
-
FOCUS_NODE
protected static final int FOCUS_NODE- See Also:
-
HIDE_NODE
protected static final int HIDE_NODE- See Also:
-
HIDE_EDGE
protected static final int HIDE_EDGE- See Also:
-
UNDO
protected static final int UNDO- See Also:
-
REDO
protected static final int REDO- See Also:
-
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
-
-
Constructor Details
-
VizigatorUser
-
-
Method Details
-
run
public void run()This method is called on schedule by the timer. -
useVizigator
protected void useVizigator() -
pickRandomNode
-
pickRandom
-
pickRandomType
-
pickRandomNode
-
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()
-