wicket.extensions.markup.html.form.select
Interface IOptionRenderer
- All Superinterfaces:
- java.io.Serializable
- public interface IOptionRenderer
- extends java.io.Serializable
- Author:
- Igor Vaynberg (ivaynberg)
|
Method Summary |
java.lang.String |
getDisplayValue(java.lang.Object object)
Get the value for displaying to the user. |
wicket.model.IModel |
getModel(java.lang.Object value)
Gets the model that will be used to represent the value object. |
getDisplayValue
public java.lang.String getDisplayValue(java.lang.Object object)
- Get the value for displaying to the user.
- Parameters:
object - SelectOption model object
- Returns:
- the value for displaying to the user.
getModel
public wicket.model.IModel getModel(java.lang.Object value)
- 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
Copyright © 2004-2008 Wicket developers. All Rights Reserved.