Method Summary |
|
public synchronized void | addItem(String itemName) This adds the item with the given name to the item list. |
public synchronized void | addItem(String[] itemName) This adds the items with the given itemNames to the items list. |
public synchronized void | addItem(Item newItem) This adds the given item to the items list. |
public synchronized void | addItem(Item[] newItem) This adds the given items to the items list. |
public void | addItemListChangeListener(ItemListChangeListener ilcl) This adds a ItemListChangeListener to the local listener list. |
public void | fireItemListChangeEvent(ItemListChangeEvent e) This notifies all listeners that the ItemList has changed. |
public synchronized Item | getItem(String itemID) This returns the Item with the given itemName if it exists; otherwise,
returns null. |
public synchronized java.util.Vector | getItems() This returns a Vector with all the currently registered Item
objects. |
public synchronized void | refreshItems() This compares the itemList object with the resourceString property, and
updates the itemList appropriately.
This method is called from valueChanged() when the underlying resource
changes. |
public synchronized void | removeItem(String itemName) This removes the item with the given itemName. |
public synchronized void | removeItem(String[] itemNames) This removes the items with the given itemNames. |
public synchronized void | removeItem(Item item) This removes the given Item. |
public synchronized void | removeItem(Item[] item) This removes the given Items. |
public void | removeItemListChangeListener(ItemListChangeListener ilcl) This removes a ItemListChangeListener from the local listener list. |
public void | valueChanged(String changedValue) As defined in net.suberic.util.ValueChangeListener. |