public interface ListDataSource extends ModelProperties
KListModel
s.COLUMN_NAMES_PROPERTY, COLUMN_TYPES_PROPERTY
Modifier and Type | Method and Description |
---|---|
Icon |
getIcon(Object item)
Get the icon for an item.
|
Object[] |
getItems()
Get all of the items from the data source.
|
String |
getLabel(Object item)
Get the icon for an item.
|
Object |
getValueForProperty(Object item,
String property)
Get the value of an arbitrary property for a given item.
|
Object[] getItems()
Object getValueForProperty(Object item, String property)
item
- The item.property
- The name of the property.null
if
there is no value for this property.String getLabel(Object item)
item
- The item.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses