public class DefaultListItemFactory extends Object implements ListItemFactory
String, Number or Date it returns this value
wrapped in appropriate widget. Otherwise it returns null.
If you want to use more complex objects you should develop your own factory.| Constructor and Description |
|---|
DefaultListItemFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(Object value)
This method should convert the value to the text to be displayed in the selection text box.
|
com.google.gwt.user.client.ui.Widget |
createWidget(Object value)
See class docs.
|
public com.google.gwt.user.client.ui.Widget createWidget(Object value)
createWidget in interface ListItemFactoryvalue - is a value to be adopted.public String convert(Object value)
convert in interface ListItemFactoryvalue - is a value to be converted.Copyright © 2008–2013. All rights reserved.