|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.infragistics.faces.shared.component.ModelComponent
com.infragistics.faces.chart.component.Scale
Scaling information. A scale has all the information required to convert an arbtirary Number value to the normalised range [0, 1]. Values outside the range are reported as negative and positive infinity.
This class is used internally by the charting component as a super class for the Axis class, and should not be instantiated by users.
| Constructor Summary | |
Scale()
|
|
| Method Summary | |
float |
getBase()
Returns the base used for logarithmic axes and automatic tick mark and gridline calculation. |
float |
getMaximumValue()
Returns the maximum value to plot. |
float |
getMinimumValue()
Returns the minimum value to plot. |
float |
getScaledValue(float value)
Applies this scale to the parameter value. |
boolean |
isLogarithmic()
Returns the logarithmic scaling flag. |
void |
setBase(float base)
Sets the base used for logarithmic axes and automatic tick mark and gridline calculation. |
void |
setLogarithmic(boolean logarithmic)
Sets the logarithmic scaling flag. |
void |
setMaximumValue(float maximumValue)
Sets the maximum value to plot. |
void |
setMinimumValue(float minimumValue)
Sets the minimum value to plot. |
| Methods inherited from class com.infragistics.faces.shared.component.ModelComponent |
getParent, getValueBinding, setParent, setValueBinding |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Scale()
| Method Detail |
public float getBase()
public boolean isLogarithmic()
public float getMaximumValue()
public float getMinimumValue()
public void setBase(float base)
base - floatpublic void setLogarithmic(boolean logarithmic)
logarithmic - booleanpublic void setMaximumValue(float maximumValue)
maximumValue - floatpublic void setMinimumValue(float minimumValue)
minimumValue - floatpublic float getScaledValue(float value)
value - float to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||