Class IntegerOption
java.lang.Object
org.wicketstuff.wiquery.core.options.AbstractOption<Integer>
org.wicketstuff.wiquery.core.options.IntegerOption
- All Implemented Interfaces:
Serializable,org.apache.wicket.model.IDetachable,org.apache.wicket.util.io.IClusterable,IListItemOption,IModelOption<Integer>,ITypedOption<Integer>
$Id: $
Wraps a Integer to be generated as a JavaScript string.
Example:
The Integer 1 should be rendered as 1
- Since:
- 0.5
- Author:
- Lionel Armanet, Ernesto Reinaldo Barreiro
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIntegerOption(Integer value) Builds a new instance ofIntegerOption.IntegerOption(org.apache.wicket.model.IModel<Integer> value) Builds a new instance ofIntegerOption. -
Method Summary
Modifier and TypeMethodDescriptiontoString()wrapOnAssignment(org.apache.wicket.Component component) Methods inherited from class org.wicketstuff.wiquery.core.options.AbstractOption
detach, getJavascriptOption, getModel, getValue, setModel
-
Constructor Details
-
IntegerOption
Builds a new instance ofIntegerOption.- Parameters:
value- the wrappedInteger
-
IntegerOption
Builds a new instance ofIntegerOption.- Parameters:
value- the wrappedInteger
-
-
Method Details
-
toString
- Specified by:
toStringin classAbstractOption<Integer>
-
wrapOnAssignment
-