cage.viewer.twoview
Class TwoViewPainter

java.lang.Object
  extended by cage.viewer.twoview.TwoViewPainter

public class TwoViewPainter
extends java.lang.Object


Constructor Summary
TwoViewPainter(TwoViewDevice device)
           
 
Method Summary
 FloatingPoint[] getBoundingBox()
           
 FloatingPoint getCoordinate(double px, double py)
           
 FloatingPoint getCoordinatePoint(int n)
           
 int getGraphSize()
           
 FloatingPoint getPoint(double x, double y)
           
 void paintGraph()
           
 void setGraph(EmbeddableGraph graph)
           
 void setPaintArea(double horMin, double horMax, double verMin, double verMax)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoViewPainter

public TwoViewPainter(TwoViewDevice device)
Method Detail

setGraph

public void setGraph(EmbeddableGraph graph)

setPaintArea

public void setPaintArea(double horMin,
                         double horMax,
                         double verMin,
                         double verMax)

getPoint

public FloatingPoint getPoint(double x,
                              double y)

getCoordinate

public FloatingPoint getCoordinate(double px,
                                   double py)

getBoundingBox

public FloatingPoint[] getBoundingBox()

getGraphSize

public int getGraphSize()

getCoordinatePoint

public FloatingPoint getCoordinatePoint(int n)

paintGraph

public void paintGraph()