edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction
Class RotateScroll
java.lang.Object
   edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.RotateScroll
edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.RotateScroll
- All Implemented Interfaces: 
- GraphListener, java.util.EventListener
- public class RotateScroll 
- extends java.lang.Object- implements GraphListener
RotateScroll.  Allows one to rotate the graph by clicking+dragging
 The rotate lens won't work properly unless it's the top lens, because it
 does not account for distortion from above lenses.  Methods for getting
 lenses above the current one need to be added to TGLensSet to solve this problem.
- Version:
- 1.22-jre1.1  $Id: RotateScroll.java,v 1.1 2010/01/20 20:38:32 jiecui Exp $
- Author:
- Alexander Shapiro
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RotateScroll
public RotateScroll(TGPanel tgp)
- Constructor with TGPanel tgp.
 
getLens
public edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.RotateScroll.RotateLens getLens()
- 
 
- 
 
getRotateSB
public javax.swing.JScrollBar getRotateSB()
- 
 
- 
 
getRotateDragUI
public edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.RotateScroll.RotateDragUI getRotateDragUI()
- 
 
- 
 
getRotationAngle
public int getRotationAngle()
- 
 
- 
 
setRotationAngle
public void setRotationAngle(int angle)
- 
 
- 
 
graphMoved
public void graphMoved()
- 
- Specified by:
- graphMovedin interface- GraphListener
 
- 
 
graphReset
public void graphReset()
- 
- Specified by:
- graphResetin interface- GraphListener
 
- 
 
incrementRotateAngle
public void incrementRotateAngle(double inc)
- 
 
-