com.touchgraph.graphlayout.interaction
Class GLNavigateUI

java.lang.Object
  extended by com.touchgraph.graphlayout.interaction.TGUserInterface
      extended by com.touchgraph.graphlayout.interaction.GLNavigateUI
Direct Known Subclasses:
GraphNavigateUI

public class GLNavigateUI
extends TGUserInterface

GLNavigateUI. User interface for moving around the graph, as opposed to editing.

Version:
1.21 $Id: GLNavigateUI.java,v 3.2 2005/04/03 01:55:20 altheim Exp $
Author:
Alexander Shapiro, Murray Altheim (abstracted GLPanel to TGScrollPane interface)

Field Summary
protected  DragNodeUI dragNodeUI
           
protected  TGAbstractDragUI hvDragUI
           
protected  TGAbstractClickUI hvScrollToCenterUI
           
protected  LocalityScroll localityScroll
           
protected  com.touchgraph.graphlayout.interaction.GLNavigateUI.GLNavigateMouseListener ml
           
protected  TGAbstractDragUI rotateDragUI
           
protected  TGPanel tgPanel
           
protected  TGScrollPane tgsp
           
 
Constructor Summary
GLNavigateUI(TGScrollPane tgScrollPane)
           
 
Method Summary
 void activate()
           
 void deactivate()
           
 DragNodeUI getDragNodeUI(TGPanel tgPanel)
          Returns a lazily-created DragNodeUI.
 void handleMouseNavigateEvent(MouseEvent e)
          Processes mouse navigation events from the GLNavigateMouseListener.
 
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

tgsp

protected TGScrollPane tgsp

tgPanel

protected TGPanel tgPanel

ml

protected com.touchgraph.graphlayout.interaction.GLNavigateUI.GLNavigateMouseListener ml

hvDragUI

protected TGAbstractDragUI hvDragUI

rotateDragUI

protected TGAbstractDragUI rotateDragUI

hvScrollToCenterUI

protected TGAbstractClickUI hvScrollToCenterUI

dragNodeUI

protected DragNodeUI dragNodeUI

localityScroll

protected LocalityScroll localityScroll
Constructor Detail

GLNavigateUI

public GLNavigateUI(TGScrollPane tgScrollPane)
Method Detail

getDragNodeUI

public DragNodeUI getDragNodeUI(TGPanel tgPanel)
Returns a lazily-created DragNodeUI.


activate

public void activate()
Specified by:
activate in class TGUserInterface

deactivate

public void deactivate()
Overrides:
deactivate in class TGUserInterface

handleMouseNavigateEvent

public void handleMouseNavigateEvent(MouseEvent e)
Processes mouse navigation events from the GLNavigateMouseListener.



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