| |
|
| com.jeta.forms.store.properties.JETAProperty com.jeta.forms.store.properties.ItemsProperty
ItemsProperty | public class ItemsProperty extends JETAProperty (Code) | | This property is used to represent a Collection of objects for those beans
that support showing a group. For example: JComboBox and JList.
author: Jeff Tassin |
Constructor Summary | |
public | ItemsProperty() Creates an unitialized ItemsProperty instance. | public | ItemsProperty(Collection items) Creates an ItemsProperty instance with the specified list
items. |
PROPERTY_ID | final public static String PROPERTY_ID(Code) | | The name of this property
|
VERSION | final public static int VERSION(Code) | | The current version number of this class
|
serialVersionUID | final static long serialVersionUID(Code) | | |
ItemsProperty | public ItemsProperty()(Code) | | Creates an unitialized ItemsProperty instance.
|
ItemsProperty | public ItemsProperty(Collection items)(Code) | | Creates an ItemsProperty instance with the specified list
items.
Parameters: items - a collection of objects used to populate the Java bean. |
getItems | public Collection getItems()(Code) | | Returns the collection of objects used to populate the Java bean
associated with this property. This collection will contain either
Strings or ListItemProperty objects.
the items in this property |
setValue | public void setValue(Object prop)(Code) | | Sets the values of this property to that of another ItemsProperty.
Parameters: prop - an ItemsProperty object. |
updateBean | public void updateBean(JETABean jbean)(Code) | | Updates the bean with the current items of this property. If the
associated Java bean is a JComboBox or JList, the items of this property
are added to the bean. Additionally, a ListItemRenderer is set as the
renderer for the bean. This allows any icons associated with the list
items to be correctly rendered.
|
Fields inherited from com.jeta.forms.store.properties.JETAProperty | final public static int VERSION(Code)(Java Doc) final static long serialVersionUID(Code)(Java Doc)
|
|
|
|