Eclipse Platform
Release 3.2

org.eclipse.swt.events
Interface ExpandListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener
All Known Implementing Classes:
ExpandAdapter

public interface ExpandListener
extends org.eclipse.swt.internal.SWTEventListener

Classes which implement this interface provide methods that deal with the expanding and collapsing of ExpandItems.

After creating an instance of a class that implements this interface it can be added to a ExpandBar control using the addExpandListener method and removed using the removeExpandListener method. When a item of the ExpandBar is expanded or collapsed, the appropriate method will be invoked.

Since:
3.2
See Also:
ExpandAdapter, ExpandEvent

Method Summary
 void itemCollapsed(ExpandEvent e)
          Sent when an item is collapsed.
 void itemExpanded(ExpandEvent e)
          Sent when an item is expanded.
 

Method Detail

itemCollapsed

public void itemCollapsed(ExpandEvent e)
Sent when an item is collapsed.

Parameters:
e - an event containing information about the operation

itemExpanded

public void itemExpanded(ExpandEvent e)
Sent when an item is expanded.

Parameters:
e - an event containing information about the operation

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.