com.starbase.starteam
Class ItemListAdapter

java.lang.Object
  |
  +--com.starbase.starteam.ItemListAdapter
All Implemented Interfaces:
java.util.EventListener, IItemListener, ItemListListener

public abstract class ItemListAdapter
extends java.lang.Object
implements ItemListListener

A stub implementation of the ItemListListener interface.

This class is provided as a convenience for easily creating listeners. An application can extend this class and override only the methods of interest.

See Also:
ItemListListener, View.addItemListener(com.starbase.starteam.IItemListener, com.starbase.starteam.Type), Folder.addItemListener(com.starbase.starteam.IItemListener, com.starbase.starteam.Type, int), ItemListManager.addItemListener(com.starbase.starteam.IItemListener)

Constructor Summary
ItemListAdapter()
           
 
Method Summary
 void itemsChanged(ItemListEvent e)
          Invoked when the list of Items of a particular Type has changed in a Folder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemListAdapter

public ItemListAdapter()
Method Detail

itemsChanged

public void itemsChanged(ItemListEvent e)
Invoked when the list of Items of a particular Type has changed in a Folder. This includes whenever an Item is added, moved, shared, deleted, etc.

ItemListEvent.getFolder() returns the Folder whose item list has changed. For example, if Item A is moved from Folder B to Folder C, itemsChanged events are triggered for both Folder B and Folder C.

Applications that are more interested in receiving information about Item A in this case should listen for ItemEvents by registering an ItemListener.

Specified by:
itemsChanged in interface ItemListListener
Parameters:
e - The corresponding ItemListEvent.
See Also:
ItemListEvent


StarTeam SDK 10.0, Build 58
Copyright © 2003-2004 Borland Software Corporation. All rights reserved.