moebiusViewer.shape
Class CoordinateSystem

java.lang.Object
  extended bymoebiusViewer.shape.AbstractShape
      extended bymoebiusViewer.shape.CoordinateSystem
All Implemented Interfaces:
java.lang.Cloneable, MoebiusShape, java.io.Serializable

public class CoordinateSystem
extends AbstractShape

See Also:
Serialized Form

Field Summary
 
Fields inherited from class moebiusViewer.shape.AbstractShape
EPS, EPSSQR, propertyChangeSupport, toolList
 
Constructor Summary
CoordinateSystem()
           
CoordinateSystem(double theXMin, double theXMax, double theYMin, double theYMax)
           
 
Method Summary
 void assign(double theXMin, double theXMax, double theYMin, double theYMax)
           
 void draw(MoebiusGraphics g)
           
 boolean getDrawTicks()
          Get the value of drawTicks.
 boolean getDrawUnitCircle()
          Get the value of drawUnitCircle.
 double getOriginX()
          Get the value of originX.
 double getOriginY()
          Get the value of originY.
 double getXMax()
          Get the value of xMax.
 double getXMin()
          Get the value of xMin.
 double getXTickLength()
          Get the value of xTickLength.
 double getXTickStep()
          Get the value of xTickStep.
 double getYMax()
          Get the value of yMax.
 double getYMin()
          Get the value of yMin.
 double getYTickLength()
          Get the value of yTickLength.
 double getYTickStep()
          Get the value of yTickStep.
 void setDrawTicks(boolean b)
          Set the value of drawTicks.
 void setDrawUnitCircle(boolean b)
          Set the value of drawUnitCircle.
 void setOriginX(double v)
          Set the value of originX.
 void setOriginY(double v)
          Set the value of originY.
 void setXMax(double v)
          Set the value of xMax.
 void setXMin(double v)
          Set the value of xMin.
 void setXTickLength(double v)
          Set the value of xTickLength.
 void setXTickStep(double v)
          Set the value of xTickStep.
 void setYMax(double v)
          Set the value of yMax.
 void setYMin(double v)
          Set the value of yMin.
 void setYTickLength(double v)
          Set the value of yTickLength.
 void setYTickStep(double v)
          Set the value of yTickStep.
 java.lang.String toString()
           
 
Methods inherited from class moebiusViewer.shape.AbstractShape
addPropertyChangeListener, clone, dontFirePropertyChange, equals, firePropertyChange, firePropertyChange, getColor, getFilled, getLabel, getLineWidth, getPickable, getPointOutline, getPointRadius, getShowLabel, getString, getTools, isDoFirePropertyChange, isPickable, removePropertyChangeListener, reset, setColor, setDoFirePropertyChange, setFilled, setLabel, setLineWidth, setPickable, setPointOutline, setPointRadius, setShowLabel
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoordinateSystem

public CoordinateSystem(double theXMin,
                        double theXMax,
                        double theYMin,
                        double theYMax)

CoordinateSystem

public CoordinateSystem()
Method Detail

getXMin

public double getXMin()
Get the value of xMin.

Returns:
Value of xMin.

setXMin

public void setXMin(double v)
Set the value of xMin.

Parameters:
v - Value to assign to xMin.

getXMax

public double getXMax()
Get the value of xMax.

Returns:
Value of xMax.

setXMax

public void setXMax(double v)
Set the value of xMax.

Parameters:
v - Value to assign to xMax.

getYMin

public double getYMin()
Get the value of yMin.

Returns:
Value of yMin.

setYMin

public void setYMin(double v)
Set the value of yMin.

Parameters:
v - Value to assign to yMin.

getYMax

public double getYMax()
Get the value of yMax.

Returns:
Value of yMax.

setYMax

public void setYMax(double v)
Set the value of yMax.

Parameters:
v - Value to assign to yMax.

getOriginX

public double getOriginX()
Get the value of originX.

Returns:
Value of originX.

setOriginX

public void setOriginX(double v)
Set the value of originX.

Parameters:
v - Value to assign to originX.

getOriginY

public double getOriginY()
Get the value of originY.

Returns:
Value of originY.

setOriginY

public void setOriginY(double v)
Set the value of originY.

Parameters:
v - Value to assign to originY.

getXTickLength

public double getXTickLength()
Get the value of xTickLength.

Returns:
Value of xTickLength.

setXTickLength

public void setXTickLength(double v)
Set the value of xTickLength.

Parameters:
v - Value to assign to xTickLength.

getXTickStep

public double getXTickStep()
Get the value of xTickStep.

Returns:
Value of xTickStep.

setXTickStep

public void setXTickStep(double v)
Set the value of xTickStep.

Parameters:
v - Value to assign to xTickStep.

getYTickLength

public double getYTickLength()
Get the value of yTickLength.

Returns:
Value of yTickLength.

setYTickLength

public void setYTickLength(double v)
Set the value of yTickLength.

Parameters:
v - Value to assign to yTickLength.

getYTickStep

public double getYTickStep()
Get the value of yTickStep.

Returns:
Value of yTickStep.

setYTickStep

public void setYTickStep(double v)
Set the value of yTickStep.

Parameters:
v - Value to assign to yTickStep.

getDrawUnitCircle

public boolean getDrawUnitCircle()
Get the value of drawUnitCircle.

Returns:
Value of drawUnitCircle.

setDrawUnitCircle

public void setDrawUnitCircle(boolean b)
Set the value of drawUnitCircle.

Parameters:
b - Value to assign to drawUnitCircle.

getDrawTicks

public boolean getDrawTicks()
Get the value of drawTicks.

Returns:
Value of drawTicks.

setDrawTicks

public void setDrawTicks(boolean b)
Set the value of drawTicks.


assign

public void assign(double theXMin,
                   double theXMax,
                   double theYMin,
                   double theYMax)

draw

public void draw(MoebiusGraphics g)
Specified by:
draw in interface MoebiusShape
Overrides:
draw in class AbstractShape

toString

public java.lang.String toString()