|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This model interface is used to represent a a range of values, a current value as well as an optional normal, warning and critical range.
If the normal, warning or critical ranges ar not required, they can be set to to null.
The minimim, maximum range must never be null, however the current value can be null.
Method Summary | |
void |
addChangeListener(nextapp.echo.event.ChangeListener l)
Adds a ChangeListener to the button. |
java.lang.Number |
getMaximumCriticalValue()
Returns the maximum critical value. |
java.lang.Number |
getMaximumNormalValue()
Returns the maximum normal value. |
java.lang.Number |
getMaximumValue()
Returns the maximum value. |
java.lang.Number |
getMaximumWarningValue()
Returns the maximum warning value. |
java.lang.Number |
getMinimumCriticalValue()
Returns the minimum critical value. |
java.lang.Number |
getMinimumNormalValue()
Returns the minimum normal value. |
java.lang.Number |
getMinimumValue()
Returns the minimum value. |
java.lang.Number |
getMinimumWarningValue()
Returns the minimum warning value. |
java.lang.Number |
getValue()
Returns the value. |
void |
removeChangeListener(nextapp.echo.event.ChangeListener l)
Removes a ChangeListener from the button. |
void |
setCriticalRange(java.lang.Number minCritical,
java.lang.Number maxCritical)
Sets the critical range for the dataset. |
void |
setNormalRange(java.lang.Number minNormal,
java.lang.Number maxNormal)
Sets the normal range for the dataset. |
void |
setRange(java.lang.Number min,
java.lang.Number max)
Sets the range for the dataset. |
void |
setValue(double value)
Sets the value. |
void |
setValue(java.lang.Number value)
Sets the value for the dataset. |
void |
setWarningRange(java.lang.Number minWarning,
java.lang.Number maxWarning)
Sets the warning range for the dataset. |
Method Detail |
public void addChangeListener(nextapp.echo.event.ChangeListener l)
ChangeListener
to the button.
l
- The ChangeListener
to be added.public java.lang.Number getMaximumCriticalValue()
public java.lang.Number getMaximumNormalValue()
public java.lang.Number getMaximumValue()
public java.lang.Number getMaximumWarningValue()
public java.lang.Number getMinimumCriticalValue()
public java.lang.Number getMinimumNormalValue()
public java.lang.Number getMinimumValue()
public java.lang.Number getMinimumWarningValue()
public java.lang.Number getValue()
public void removeChangeListener(nextapp.echo.event.ChangeListener l)
ChangeListener
from the button.
l
- The ChangeListener
to be removed.public void setCriticalRange(java.lang.Number minCritical, java.lang.Number maxCritical)
minCritical
- the new minimum.maxCritical
- the new maximum.public void setNormalRange(java.lang.Number minNormal, java.lang.Number maxNormal)
minNormal
- the new minimum.maxNormal
- the new maximum.public void setRange(java.lang.Number min, java.lang.Number max)
min
- the new minimum.max
- the new maximum.public void setValue(double value)
value
- the new value.public void setValue(java.lang.Number value)
value
- the new value.public void setWarningRange(java.lang.Number minWarning, java.lang.Number maxWarning)
minWarning
- the new minimum.maxWarning
- the new maximum.
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |