Class DoubleOption
java.lang.Object
org.wicketstuff.wiquery.core.options.AbstractOption<Double>
org.wicketstuff.wiquery.core.options.DoubleOption
- All Implemented Interfaces:
Serializable,org.apache.wicket.model.IDetachable,org.apache.wicket.util.io.IClusterable,IListItemOption,IModelOption<Double>,ITypedOption<Double>
$Id: $
Wraps a Double to be generated as a JavaScript string.
Example:
The Double 1 should be rendered as 1
- Since:
- 0.5
- Author:
- Lionel Armanet, Ernesto Reinaldo Barreiro
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleOption(Double value) Builds a new instance ofDoubleOption.DoubleOption(org.apache.wicket.model.IModel<Double> value) Builds a new instance ofDoubleOption. -
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
-
DoubleOption
Builds a new instance ofDoubleOption.- Parameters:
value- the wrappedDouble
-
DoubleOption
Builds a new instance ofDoubleOption.- Parameters:
value- the wrappedDouble
-
-
Method Details
-
toString
- Specified by:
toStringin classAbstractOption<Double>
-
wrapOnAssignment
-