public class ZoomScroll extends java.lang.Object implements GraphListener
Modifier and Type | Field and Description |
---|---|
protected com.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens |
zoomLens |
Constructor and Description |
---|
ZoomScroll(TGPanel tgp)
Constructor with TGPanel tgp.
|
Modifier and Type | Method and Description |
---|---|
com.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens |
getLens() |
java.awt.Scrollbar |
getZoomSB() |
int |
getZoomValue() |
void |
graphMoved() |
void |
graphReset() |
void |
setZoomValue(int value) |
public ZoomScroll(TGPanel tgp)
public java.awt.Scrollbar getZoomSB()
public com.touchgraph.graphlayout.interaction.ZoomScroll.ZoomLens getLens()
public void graphMoved()
graphMoved
in interface GraphListener
public void graphReset()
graphReset
in interface GraphListener
public int getZoomValue()
public void setZoomValue(int value)