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