Module org.apache.wicket.extensions
Interface IOptionRenderer<T>
- Type Parameters:
T
- the model object's type
- All Superinterfaces:
IClusterable
,IDetachable
,Serializable
- Author:
- Igor Vaynberg (ivaynberg)
-
Method Summary
-
Method Details
-
getDisplayValue
Get the value for displaying to the user.- Parameters:
object
- SelectOption model object- Returns:
- the value for displaying to the user.
-
getModel
Gets the model that will be used to represent the value object. This is a good place to wrap the value object with a detachable model one is desired- Parameters:
value
-- Returns:
- model that will contain the value object
-
detach
Override when needed.- Specified by:
detach
in interfaceIDetachable
-