edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction
Class ZoomScroll
java.lang.Object
edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.ZoomScroll
- All Implemented Interfaces:
- GraphListener, java.util.EventListener
public class ZoomScroll
- extends java.lang.Object
- implements GraphListener
ZoomScroll: Contains code for enlarging the graph by zooming in.
- Version:
- 1.21 $Id: ZoomScroll.java,v 1.1 2010/01/20 20:38:32 jiecui Exp $
- Author:
- Alexander Shapiro
Field Summary |
protected edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens |
zoomLens
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
zoomLens
protected edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens zoomLens
ZoomScroll
public ZoomScroll(TGPanel tgp)
- Constructor with TGPanel tgp.
getZoomSB
public javax.swing.JScrollBar getZoomSB()
getLens
public edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens getLens()
graphMoved
public void graphMoved()
- Specified by:
graphMoved
in interface GraphListener
graphReset
public void graphReset()
- Specified by:
graphReset
in interface GraphListener
getZoomValue
public int getZoomValue()
setZoomValue
public void setZoomValue(int value)