public class DoubleOption extends AbstractOption<Double>
Wraps a Double to be generated as a JavaScript string.
Example:
The Double 1 should be rendered as 1
| Constructor and Description |
|---|
DoubleOption(Double value)
Builds a new instance of
DoubleOption. |
DoubleOption(org.apache.wicket.model.IModel<Double> value)
Builds a new instance of
DoubleOption. |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
IModelOption<Double> |
wrapOnAssignment(org.apache.wicket.Component component) |
detach, getJavascriptOption, getModel, getValue, setModelpublic DoubleOption(Double value)
DoubleOption.value - the wrapped Doublepublic DoubleOption(org.apache.wicket.model.IModel<Double> value)
DoubleOption.value - the wrapped Doublepublic String toString()
toString in class AbstractOption<Double>public IModelOption<Double> wrapOnAssignment(org.apache.wicket.Component component)
Copyright © 2015. All Rights Reserved.