simtools.shapes
Class PlotShape.Limit

java.lang.Object
  extended by simtools.shapes.PlotShape.Limit
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
PlotShape

public class PlotShape.Limit
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

A class to put the curveShape, its label and the used axes

See Also:
Serialized Form

Field Summary
 java.awt.Color color
           
 float dashParam1
           
 float dashParam2
           
 boolean secondaryAxis
           
 LimitShape shape
           
 
Constructor Summary
PlotShape.Limit(LimitShape cs, boolean secondaryAxis)
           
 
Method Summary
 java.lang.Object clone()
           
 PlotShape.Limit clone(PlotShape owner)
          Create a clone of this curve, including the related shape
 java.lang.String getLabel()
           
 void setDashParameters(float p1, float p2)
           
 void setLabel(java.lang.String s)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

shape

public LimitShape shape

secondaryAxis

public boolean secondaryAxis

color

public java.awt.Color color

dashParam1

public float dashParam1

dashParam2

public float dashParam2
Constructor Detail

PlotShape.Limit

public PlotShape.Limit(LimitShape cs,
                       boolean secondaryAxis)
Method Detail

clone

public PlotShape.Limit clone(PlotShape owner)
Create a clone of this curve, including the related shape

Parameters:
owner - the shape owner to register listeners on it
Returns:
the clone

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

setLabel

public void setLabel(java.lang.String s)

getLabel

public java.lang.String getLabel()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setDashParameters

public void setDashParameters(float p1,
                              float p2)