com.touchgraph.graphlayout.interaction
Class TGAbstractDragUI
java.lang.Object
com.touchgraph.graphlayout.interaction.TGUserInterface
com.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
com.touchgraph.graphlayout.interaction.TGAbstractDragUI
- Direct Known Subclasses:
- DragAddUI, DragMultiselectUI, DragNodeUI, HVRotateDragUI
- public abstract class TGAbstractDragUI
- extends TGSelfDeactivatingUI
TGAbstractDragUI allows one to write user interfaces that handle
what happends when a mouse is pressed, dragged, and released.
- Version:
- 1.21 $Id: TGAbstractDragUI.java,v 1.1.1.1 2004/02/06 08:44:07 keesj Exp $
- Author:
- Alexander Shapiro
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tgPanel
public TGPanel tgPanel
mouseWasDragged
public boolean mouseWasDragged
TGAbstractDragUI
public TGAbstractDragUI(TGPanel tgp)
- Constructor with TGPanel tgp.
activate
public final void activate()
- Specified by:
activate
in class TGUserInterface
activate
public final void activate(java.awt.event.MouseEvent e)
deactivate
public final void deactivate()
- Overrides:
deactivate
in class TGUserInterface
preActivate
public abstract void preActivate()
preDeactivate
public abstract void preDeactivate()
mousePressed
public abstract void mousePressed(java.awt.event.MouseEvent e)
mouseDragged
public abstract void mouseDragged(java.awt.event.MouseEvent e)
mouseReleased
public abstract void mouseReleased(java.awt.event.MouseEvent e)
Copyright © 2003-2004 SourceForge. All Rights Reserved.