net.ontopia.topicmaps.viz
Class VizigatorUser

java.lang.Object
  extended by java.util.TimerTask
      extended by net.ontopia.topicmaps.viz.VizigatorUser
All Implemented Interfaces:
java.lang.Runnable

public class VizigatorUser
extends java.util.TimerTask


Field Summary
protected  boolean enabled
           
protected static int EXPAND_NODE
           
protected  int expandNodeCount
           
protected static int FOCUS_NODE
           
protected  int focusNodeCount
           
protected static int HIDE_EDGE
           
protected static int HIDE_NODE
           
protected  int hideEdgeCount
           
protected  int hideFocusNodeCount
           
protected  int hideNodeCount
           
static boolean INITIALLY_ENABLED
           
protected static int REDO
           
protected  int redoCount
           
protected  int runCount
           
protected static int UNDO
           
protected  int undoCount
           
 
Constructor Summary
VizigatorUser(VizController controller, long millis)
           
 
Method Summary
 boolean getEnabled()
           
protected  java.lang.Object pickRandom(java.util.Collection items)
           
protected  TMAbstractNode pickRandomNode()
           
protected  TMAbstractNode pickRandomNode(TopicIF type)
           
protected  TopicIF pickRandomType()
           
 void run()
          This method is called on schedule by the timer.
 void setEnabled(boolean enabled)
          Enables/disables this motion killer.
protected  void useVizigator()
           
 
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
 

Field Detail

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
Constructor Detail

VizigatorUser

public VizigatorUser(VizController controller,
                     long millis)
Method Detail

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.