org.ceryle.graph.tm
Class TMNavigateUI

java.lang.Object
  extended by com.touchgraph.graphlayout.interaction.TGUserInterface
      extended by com.touchgraph.graphlayout.interaction.GLNavigateUI
          extended by org.ceryle.graph.GraphNavigateUI
              extended by org.ceryle.graph.tm.TMNavigateUI

public class TMNavigateUI
extends GraphNavigateUI

TMNavigateUI extends GraphNavigateUI to support Topic Map features, including TNode TimeLine vernier dragging.

Version:
$Id: TMNavigateUI.java,v 3.2 2007-06-15 12:09:26 altheim Exp $
Author:
Murray Altheim
See Also:
GraphNavigateUI

Nested Class Summary
 class TMNavigateUI.AssociateTopicListener
          MouseMotionListener extension to handle dragging a provisional node, creating a new Topic and optionally associating it with the initial mouseOverN.
 class TMNavigateUI.AssociationSwapListener
          MouseMotionListener extension to handle dragging of an existing Association to a new one.
 
Field Summary
protected  MouseInputListener m_dragListener
           
protected  TMLayoutPanel tmlp
           
protected  TMPanel tmp
           
 
Fields inherited from class org.ceryle.graph.GraphNavigateUI
glp, gp, mh, multiselectUI
 
Fields inherited from class com.touchgraph.graphlayout.interaction.GLNavigateUI
dragNodeUI, hvDragUI, hvScrollToCenterUI, localityScroll, ml, rotateDragUI, tgPanel, tgsp
 
Constructor Summary
TMNavigateUI(TMLayoutPanel tmlpanel)
           
 
Method Summary
 int getGraphState()
          Returns the state of the graph as a bitwise int.
 void handleMouseNavigateEvent(MouseEvent e)
          Processes mouse navigation events from the GLNavigateMouseListener.
 void releaseDrag()
          Returns the state of the graph as a bitwise int.
 
Methods inherited from class org.ceryle.graph.GraphNavigateUI
getDragNodeUI, isVerbose, setVerbose
 
Methods inherited from class com.touchgraph.graphlayout.interaction.GLNavigateUI
activate, deactivate
 
Methods inherited from class com.touchgraph.graphlayout.interaction.TGUserInterface
activate, isActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tmlp

protected TMLayoutPanel tmlp

tmp

protected TMPanel tmp

m_dragListener

protected MouseInputListener m_dragListener
Constructor Detail

TMNavigateUI

public TMNavigateUI(TMLayoutPanel tmlpanel)
Method Detail

handleMouseNavigateEvent

public void handleMouseNavigateEvent(MouseEvent e)
Processes mouse navigation events from the GLNavigateMouseListener. This extends GLNavigateUI in various ways:

Overrides:
handleMouseNavigateEvent in class GraphNavigateUI

releaseDrag

public void releaseDrag()
Returns the state of the graph as a bitwise int.


getGraphState

public int getGraphState()
Returns the state of the graph as a bitwise int.

Overrides:
getGraphState in class GraphNavigateUI


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.