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