| |
|
| com.jeta.forms.store.properties.JETAProperty com.jeta.forms.store.properties.ListItemProperty
ListItemProperty | public class ListItemProperty extends JETAProperty (Code) | | This property represents a single item in a JComboBox or JList. Its primary
purpose is to allow a user to specify an icon and text for an item in a list
in the forms designer.
author: Jeff Tassin |
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) | | |
ListItemProperty | public ListItemProperty()(Code) | | Creates an unitialized ListItemProperty instance.
|
ListItemProperty | public ListItemProperty(String label)(Code) | | Creates a ListItemProperty instance with the specified
label and no icon.
Parameters: label - the label for this list item. |
ListItemProperty | public ListItemProperty(String label, IconProperty iprop)(Code) | | Creates a ListItemProperty instance with the specified
label and icon
Parameters: label - the label for this list item. Parameters: icon - the icon for this list item. |
equals | public boolean equals(Object obj)(Code) | | Returns true if this property equals the given object.
|
getIconProperty | public IconProperty getIconProperty()(Code) | | Returns the icon for this list item. Can be null.
|
getLabel | public String getLabel()(Code) | | Returns the label for this list item
|
icon | public Icon icon()(Code) | | Return the underlying icon that is specified by the IconProperty. This
value can be null if no icon is specified.
the underlying icon. |
setIconProperty | public void setIconProperty(IconProperty iprop)(Code) | | Sets the icon property for this list item.
|
setLabel | public void setLabel(String label)(Code) | | Sets the label for this list item.
|
setValue | public void setValue(Object prop)(Code) | | Sets this property to that of another ListItemProperty or String object.
Parameters: prop - a ListItemProperty instance. This can also be a String. |
updateBean | public void updateBean(JETABean jbean)(Code) | | Updates the bean with the current value of this property
|
Fields inherited from com.jeta.forms.store.properties.JETAProperty | final public static int VERSION(Code)(Java Doc) final static long serialVersionUID(Code)(Java Doc)
|
|
|
|