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