com.touchgraph.graphlayout.interaction
Class HVRotateDragUI
java.lang.Object
com.touchgraph.graphlayout.interaction.TGUserInterface
com.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
com.touchgraph.graphlayout.interaction.TGAbstractDragUI
com.touchgraph.graphlayout.interaction.HVRotateDragUI
- All Implemented Interfaces:
- java.util.EventListener, TGPaintListener
- public class HVRotateDragUI
- extends TGAbstractDragUI
- implements TGPaintListener
HVRotateDragUI. A combination of HVScrolling + rotating.
The graph is rotated, but the mouse is always kept on the same point
on the graph.
- Version:
- 1.06
- Author:
- Alexander Shapiro
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HVRotateDragUI
public HVRotateDragUI(TGPanel tgp,
HVScroll hvs,
RotateScroll rs)
- Constructor with TGPanel tgp, HVScroll hvs
and a RotateScroll rs.
preActivate
public void preActivate()
- Specified by:
preActivate
in class TGAbstractDragUI
preDeactivate
public void preDeactivate()
- Specified by:
preDeactivate
in class TGAbstractDragUI
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in class TGAbstractDragUI
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in class TGAbstractDragUI
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged
in class TGAbstractDragUI
paintFirst
public void paintFirst(java.awt.Graphics g)
- Specified by:
paintFirst
in interface TGPaintListener
paintLast
public void paintLast(java.awt.Graphics g)
- Specified by:
paintLast
in interface TGPaintListener
paintAfterEdges
public void paintAfterEdges(java.awt.Graphics g)
- Specified by:
paintAfterEdges
in interface TGPaintListener
Copyright © 2003-2004 SourceForge. All Rights Reserved.