|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--net.sf.whatsnew.options.Option
|
+--net.sf.whatsnew.options.IntegerOption
An Integer Option
| Constructor Summary | |
protected |
IntegerOption(java.lang.Integer defaultValue)
Creates a new IntegerOption object. |
| Method Summary | |
java.lang.Object |
getDefaultValue()
Getter for #defaultValue |
protected OptionValue |
getOptionValue(java.lang.Object value)
Gets option value |
OptionValue |
getValue(java.lang.Object value)
Gets value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected IntegerOption(java.lang.Integer defaultValue)
defaultValue - Option default value| Method Detail |
protected OptionValue getOptionValue(java.lang.Object value)
throws InvalidOptionValue
getOptionValue in class net.sf.whatsnew.options.Optionvalue - The value to use if possibleInvalidOptionValue - If the object type is invalidpublic java.lang.Object getDefaultValue()
#defaultValue
public OptionValue getValue(java.lang.Object value)
throws InvalidOptionValue
value - The value to associate, or null to use default
valueInvalidOptionValue - If the object type is invalid
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||