com.touchgraph.graphlayout.interaction
Class ZoomScroll

java.lang.Object
  extended bycom.touchgraph.graphlayout.interaction.ZoomScroll
All Implemented Interfaces:
java.util.EventListener, GraphListener

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.1.1 2004/02/06 08:44:07 keesj Exp $
Author:
Alexander Shapiro

Field Summary
protected  com.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens zoomLens
           
 
Constructor Summary
ZoomScroll(TGPanel tgp)
          Constructor with TGPanel tgp.
 
Method Summary
 com.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens getLens()
           
 javax.swing.JScrollBar getZoomSB()
           
 int getZoomValue()
           
 void graphMoved()
           
 void graphReset()
           
 void setZoomValue(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

zoomLens

protected com.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens zoomLens
Constructor Detail

ZoomScroll

public ZoomScroll(TGPanel tgp)
Constructor with TGPanel tgp.

Method Detail

getZoomSB

public javax.swing.JScrollBar getZoomSB()

getLens

public com.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)


Copyright © 2003-2004 SourceForge. All Rights Reserved.