org.apache.wicket.extensions.markup.html.form.select
Interface IOptionRenderer
- All Superinterfaces:
- IClusterable, java.io.Serializable
public interface IOptionRenderer
- extends IClusterable
- Author:
- Igor Vaynberg (ivaynberg)
Method Summary |
java.lang.String |
getDisplayValue(java.lang.Object object)
Get the value for displaying to the user. |
IModel |
getModel(java.lang.Object value)
Gets the model that will be used to represent the value object. |
getDisplayValue
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
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-2010 Apache Software Foundation. All Rights Reserved.