|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectceleboss.data.ChangableValue
celeboss.data.PercentChangableValue
This is a subclass that represents a Percentage vlaue that changes over time. These are fraction value represention of the percentage so for example 100% has the float value of 1.0; 50% has value 0.5.
| Field Summary |
| Fields inherited from class celeboss.data.ChangableValue |
DECREASING, INCREASING, NOCHANGE |
| Constructor Summary | |
PercentChangableValue(float initalValue)
Constract with the initial value |
|
| Method Summary | |
java.text.NumberFormat |
getDefaultFormat()
Format to use for toString method. |
| Methods inherited from class celeboss.data.ChangableValue |
compareTo, equals, getChangedOn, getIncreasing, getMaximumAge, getOldValue, getValue, hashCode, resetValue, setFormat, setMaximumAge, setValue, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PercentChangableValue(float initalValue)
initalValue - | Method Detail |
public java.text.NumberFormat getDefaultFormat()
getDefaultFormat in class ChangableValue
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||