T
- the model object's typepublic interface IOptionRenderer<T> extends IDetachable
Modifier and Type | Method and Description |
---|---|
default void |
detach()
Override when needed.
|
String |
getDisplayValue(T object)
Get the value for displaying to the user.
|
IModel<T> |
getModel(T value)
Gets the model that will be used to represent the value object.
|
String getDisplayValue(T object)
object
- SelectOption model objectIModel<T> getModel(T value)
value
- default void detach()
detach
in interface IDetachable
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.