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()
          Returns the maximum independent value to display
 java.lang.Number getMaximumValue()
          Returns the maximum dependent value to display
 double getMinimumColumnValue()
          Returns the minimum independent value to display
 java.lang.Number getMinimumValue()
          Returns the minimum dependent value to display
 
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

getMinimumValue

public java.lang.Number getMinimumValue()
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()
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()
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()
Returns the maximum independent value to display

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