edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction
Class HyperScroll

java.lang.Object
  extended by edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.HyperScroll
All Implemented Interfaces:
GraphListener, java.util.EventListener

public class HyperScroll
extends java.lang.Object
implements GraphListener

HyperScroll. Responsible for producing that neat hyperbolic effect. (Which isn't really hyperbolic, but just non-linear). Demonstrates the usefulness of Lenses.

Version:
1.22-jre1.1 $Id: HyperScroll.java,v 1.1 2010/01/20 20:38:32 jiecui Exp $
Author:
Alexander Shapiro

Constructor Summary
HyperScroll(TGPanel tgp)
           
 
Method Summary
 javax.swing.JScrollBar getHyperSB()
           
 edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.HyperScroll.HyperLens getLens()
           
 void graphMoved()
           
 void graphReset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HyperScroll

public HyperScroll(TGPanel tgp)
Method Detail

getHyperSB

public javax.swing.JScrollBar getHyperSB()

getLens

public edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.HyperScroll.HyperLens getLens()

graphMoved

public void graphMoved()
Specified by:
graphMoved in interface GraphListener

graphReset

public void graphReset()
Specified by:
graphReset in interface GraphListener