com.approximatrix.charting.model
Class MultiScatterDataModelConstraints

java.lang.Object
  extended by com.approximatrix.charting.model.MultiScatterDataModelConstraints
All Implemented Interfaces:
ChartDataModelConstraints

public class MultiScatterDataModelConstraints
extends java.lang.Object
implements ChartDataModelConstraints

Implements a ChartDataModelConstraint class specifically for the MultiScatterDataModel class. This implementation is used to interface some of the easy scaling methods available in MultiScatterDataModel

Author:
armstrong

Field Summary
(package private)  MultiScatterDataModel model
          The internal pointer to the corresponding data model
 
Constructor Summary
MultiScatterDataModelConstraints(MultiScatterDataModel model)
          Constructor requiring a data model to be specified
 
Method Summary
 double getMaximumColumnValue()
          Deprecated. As of release 1.3, replaced by getMaximumX()
 java.lang.Number getMaximumValue()
          Deprecated. As of release 1.3, replaced by getMaximumY()
 java.lang.Number getMaximumX()
          Returns the maximum column value.
 java.lang.Number getMaximumY()
          Returns the maximum value of all datasets.
 double getMinimumColumnValue()
          Deprecated. As of release 1.3, replaced by getMinimumX()
 java.lang.Number getMinimumValue()
          Deprecated. As of release 1.3, replaced by getMinimumY()
 java.lang.Number getMinimumX()
          Returns the minimum column value.
 java.lang.Number getMinimumY()
          Returns the minimum value of all datasets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

MultiScatterDataModel model
The internal pointer to the corresponding data model

Constructor Detail

MultiScatterDataModelConstraints

public MultiScatterDataModelConstraints(MultiScatterDataModel model)
Constructor requiring a data model to be specified

Parameters:
model - the MultiScatterDataModel to support
Method Detail

getMaximumX

public java.lang.Number getMaximumX()
Description copied from interface: ChartDataModelConstraints
Returns the maximum column value.

Specified by:
getMaximumX in interface ChartDataModelConstraints
Returns:
In the case of non-numeric x-values this should be the amount of columns - 1, in the case of numeric x-values this should nomen est omen be the smallest value.
See Also:
ChartDataModelConstraints.getMaximumX()

getMaximumY

public java.lang.Number getMaximumY()
Description copied from interface: ChartDataModelConstraints
Returns the maximum value of all datasets.

Specified by:
getMaximumY in interface ChartDataModelConstraints
Returns:
a Number object defining the maximum value
See Also:
ChartDataModelConstraints.getMaximumY()

getMinimumX

public java.lang.Number getMinimumX()
Description copied from interface: ChartDataModelConstraints
Returns the minimum column value.

Specified by:
getMinimumX in interface ChartDataModelConstraints
Returns:
In the case of non-numeric x-values this should be 0, in the case of numeric x-values this should nomen est omen be the smallest value.
See Also:
ChartDataModelConstraints.getMinimumX()

getMinimumY

public java.lang.Number getMinimumY()
Description copied from interface: ChartDataModelConstraints
Returns the minimum value of all datasets.

Specified by:
getMinimumY in interface ChartDataModelConstraints
Returns:
a Number object defining the smallest value.
See Also:
ChartDataModelConstraints.getMinimumY()

getMinimumValue

public java.lang.Number getMinimumValue()
Deprecated. As of release 1.3, replaced by getMinimumY()

Returns the minimum dependent value to display

Specified by:
getMinimumValue in interface ChartDataModelConstraints
Returns:
a Number which represents the minimum dependent value for display

getMaximumValue

public java.lang.Number getMaximumValue()
Deprecated. As of release 1.3, replaced by getMaximumY()

Returns the maximum dependent value to display

Specified by:
getMaximumValue in interface ChartDataModelConstraints
Returns:
a Number which represents the maximum dependent value for display

getMinimumColumnValue

public double getMinimumColumnValue()
Deprecated. As of release 1.3, replaced by getMinimumX()

Returns the minimum independent value to display

Specified by:
getMinimumColumnValue in interface ChartDataModelConstraints
Returns:
a double which represents the minimum independent value for display

getMaximumColumnValue

public double getMaximumColumnValue()
Deprecated. As of release 1.3, replaced by getMaximumX()

Returns the maximum independent value to display

Specified by:
getMaximumColumnValue in interface ChartDataModelConstraints
Returns:
a double which represents the maximum independent value for display