com.touchgraph.graphlayout
Interface TGScrollPane


public interface TGScrollPane

TGScrollPane is a Java interface for a user interface using scrollbars to set TouchGraph navigation and editing properties such as zoom, rotate and locality. If a particular UI doesn't use a specific scrollbar, the corresponding method should return a null.

Version:
1.21 $Id: TGScrollPane.java,v 1.1.1.1 2004/02/06 08:44:05 keesj Exp $
Author:
Murray Altheim, Alex Shapiro

Method Summary
 HVScroll getHVScroll()
          Return the HVScroll used with this TGScrollPane.
 HyperScroll getHyperScroll()
          Return the HyperScroll used with this TGScrollPane.
 int getLocalityRadius()
          Return the locality radius of this TGScrollPane.
 LocalityScroll getLocalityScroll()
          Return the LocalityScroll used with this TGScrollPane.
 java.awt.Point getOffset()
          Return the horizontal and vertical offset position as a Point.
 RotateScroll getRotateScroll()
          Return the RotateScroll used with this TGScrollPane.
 int getRotationAngle()
          Return the rotation angle of this TGScrollPane.
 TGPanel getTGPanel()
          Return the TGPanel used with this TGScrollPane.
 ZoomScroll getZoomScroll()
          Return the ZoomScroll used with this TGScrollPane.
 int getZoomValue()
          Return the zoom value of this TGScrollPane.
 void setLocalityRadius(int radius)
          Set the locality radius of this TGScrollPane (allowable values between 0 to 4, or LocalityUtils.INFINITE_LOCALITY_RADIUS).
 void setOffset(java.awt.Point p)
          Sets the horizontal offset to p.x, and the vertical offset to p.y given a Point p.
 void setRotationAngle(int angle)
          Set the rotation angle of this TGScrollPane (allowable values between 0 to 359).
 void setZoomValue(int zoomValue)
          Set the zoom value of this TGScrollPane (allowable values between -100 to 100).
 

Method Detail

getTGPanel

public TGPanel getTGPanel()
Return the TGPanel used with this TGScrollPane.


getHVScroll

public HVScroll getHVScroll()
Return the HVScroll used with this TGScrollPane.


getHyperScroll

public HyperScroll getHyperScroll()
Return the HyperScroll used with this TGScrollPane.


setOffset

public void setOffset(java.awt.Point p)
Sets the horizontal offset to p.x, and the vertical offset to p.y given a Point p.


getOffset

public java.awt.Point getOffset()
Return the horizontal and vertical offset position as a Point.


getRotateScroll

public RotateScroll getRotateScroll()
Return the RotateScroll used with this TGScrollPane.


setRotationAngle

public void setRotationAngle(int angle)
Set the rotation angle of this TGScrollPane (allowable values between 0 to 359).


getRotationAngle

public int getRotationAngle()
Return the rotation angle of this TGScrollPane.


getLocalityScroll

public LocalityScroll getLocalityScroll()
Return the LocalityScroll used with this TGScrollPane.


setLocalityRadius

public void setLocalityRadius(int radius)
Set the locality radius of this TGScrollPane (allowable values between 0 to 4, or LocalityUtils.INFINITE_LOCALITY_RADIUS).


getLocalityRadius

public int getLocalityRadius()
Return the locality radius of this TGScrollPane.


getZoomScroll

public ZoomScroll getZoomScroll()
Return the ZoomScroll used with this TGScrollPane.


setZoomValue

public void setZoomValue(int zoomValue)
Set the zoom value of this TGScrollPane (allowable values between -100 to 100).


getZoomValue

public int getZoomValue()
Return the zoom value of this TGScrollPane.



Copyright © 2003-2004 SourceForge. All Rights Reserved.