org.ejtools.graph
Class Range

java.lang.Object
  |
  +--org.ejtools.graph.Range

public class Range
extends java.lang.Object

Description of the Class

Version:
$Revision: 1.7 $
Author:
Laurent Etiemble

Field Summary
protected  double max
          Description of the Field
protected  double min
          Description of the Field
static int X_AXIS
          Description of the Field
static int Y_AXIS
          Description of the Field
 
Constructor Summary
Range(double min, double max)
          Constructor for the Range object
 
Method Summary
 Range compose(Range range)
          Description of the Method
 double getMax()
          Gets the max attribute of the Range object
 double getMin()
          Gets the min attribute of the Range object
 void put(double value)
          Description of the Method
 void setMax(double max)
          Sets the max.
 void setMin(double min)
          Sets the min.
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

max

protected double max
Description of the Field


min

protected double min
Description of the Field


X_AXIS

public static final int X_AXIS
Description of the Field

See Also:
Constant Field Values

Y_AXIS

public static final int Y_AXIS
Description of the Field

See Also:
Constant Field Values
Constructor Detail

Range

public Range(double min,
             double max)
Constructor for the Range object

Parameters:
min - Description of the Parameter
max - Description of the Parameter
Method Detail

compose

public Range compose(Range range)
Description of the Method

Parameters:
range - Description of the Parameter
Returns:
Description of the Return Value

getMax

public double getMax()
Gets the max attribute of the Range object

Returns:
The max value

getMin

public double getMin()
Gets the min attribute of the Range object

Returns:
The min value

put

public void put(double value)
Description of the Method

Parameters:
value - Description of the Parameter

setMax

public void setMax(double max)
Sets the max.

Parameters:
max - The max to set

setMin

public void setMin(double min)
Sets the min.

Parameters:
min - The min to set

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class java.lang.Object
Returns:
Description of the Return Value


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.