jsynoptic.builtin
Class Plot.AxeRange

java.lang.Object
  extended by jsynoptic.builtin.Plot.AxeRange
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Plot

protected class Plot.AxeRange
extends java.lang.Object
implements java.io.Serializable

Class AxeRange. Summary: This class represent an axe range, and contains properties for the axe.

See Also:
Serialized Form

Field Summary
 boolean auto
          A boolean to keep the auto status.
protected  boolean created
          A boolean to know if AxeRange has been created by serialization while reading an old file where AxeRange did not exist, or created by a new version.
 boolean floatingAxe
          A boolean to keep the floating property status.
 double floatingAxeRange
          Floating range value used when floatingAxe is enabled.
 java.lang.String label
          The label to apply to the axe.
 double max
          The min, max an step value of the axe.
 double min
          The min, max an step value of the axe.
 double step
          The min, max an step value of the axe.
 boolean validity
          A boolean to know if the axe's range value are valid.
 
Constructor Summary
Plot.AxeRange()
          Constructor AxeRange.
Plot.AxeRange(double _min, double _max, double _step, boolean _validity, boolean _auto, java.lang.String _label)
           
Plot.AxeRange(double _min, double _max, double _step, boolean _validity, boolean _auto, java.lang.String _label, boolean _floatingAxe, double _floatingAxeRange)
          Constructor AxeRange.
 
Method Summary
 void computeStep(int nbGraduation)
          Method computeStep
Summary:
This method compute the step to apply to the axeRange.
 void set(double _min, double _max, double _step, boolean _validity)
          Method set
Summary:
This method sets some axe range values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

public double min
The min, max an step value of the axe.


max

public double max
The min, max an step value of the axe.


step

public double step
The min, max an step value of the axe.


validity

public boolean validity
A boolean to know if the axe's range value are valid.


auto

public boolean auto
A boolean to keep the auto status.


label

public java.lang.String label
The label to apply to the axe.


floatingAxe

public boolean floatingAxe
A boolean to keep the floating property status.


floatingAxeRange

public double floatingAxeRange
Floating range value used when floatingAxe is enabled.


created

protected boolean created
A boolean to know if AxeRange has been created by serialization while reading an old file where AxeRange did not exist, or created by a new version. AxeRange created by new Version has their created boolean to true.

Constructor Detail

Plot.AxeRange

public Plot.AxeRange()
Constructor AxeRange.


Plot.AxeRange

public Plot.AxeRange(double _min,
                     double _max,
                     double _step,
                     boolean _validity,
                     boolean _auto,
                     java.lang.String _label,
                     boolean _floatingAxe,
                     double _floatingAxeRange)
Constructor AxeRange.

Parameters:
_min - The min value of the axe.
_max - The max value of the axe.
_step - The step value of the axe.
_validity - A boolean to know if the axe's range value are valid.
_auto - A boolean to keep the auto status
_label - The label to apply to the axe

Plot.AxeRange

public Plot.AxeRange(double _min,
                     double _max,
                     double _step,
                     boolean _validity,
                     boolean _auto,
                     java.lang.String _label)
Method Detail

set

public void set(double _min,
                double _max,
                double _step,
                boolean _validity)
Method set
Summary:
This method sets some axe range values. Parameters:

Parameters:
_min - The min value of the axe.
_max - The max value of the axe.
_step - The step value of the axe.
_validity - A boolean to know if the axe's range value are valid.

computeStep

public void computeStep(int nbGraduation)
Method computeStep
Summary:
This method compute the step to apply to the axeRange. Parameters:

Parameters:
nbGraduation - The numberOfGraduation to apply.