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