T
- the type of the data to renderpublic class LocalizerRenderer<T> extends AbstractDataRenderer<T>
DataRenderer
implementation which uses a Localizer
to get a
text representation of the items to render. This renderer provides no
graphical representations of items and no style classes by default.Constructor and Description |
---|
LocalizerRenderer(Localizer<? super T> localizer)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
getText(T item)
Gets a text representation of the item.
|
getGraphic, getStyleClass, getStyleClass
public String getText(T item)
item
- the item to renderLocalizer.getDisplayString(java.lang.Object, java.util.Locale)
Copyright © 2012-2013 Drombler. All Rights Reserved.