org.eclipse.swt.custom
Interface CTabFolderListener
-
All Superinterfaces:
-
EventListener, org.eclipse.swt.internal.SWTEventListener
-
All Known Implementing Classes:
-
CTabFolderAdapter
-
public interface CTabFolderListener
- extends org.eclipse.swt.internal.SWTEventListener
Classes which implement this interface provide a method
that deals with events generated in the CTabFolder.
After creating an instance of a class that implements
this interface it can be added to a CTabFolder using the
addCTabFolderListener
method and removed using
the removeCTabFolderListener
method. When a
tab item is closed, the itemClosed method will be invoked.
-
See Also:
-
CTabFolderEvent
Method Summary
|
void
|
itemClosed
(
CTabFolderEvent event)
Sent when the user clicks on the close button of an item in the CTabFolder. |
itemClosed
void itemClosed(
CTabFolderEvent event)
- Sent when the user clicks on the close button of an item in the CTabFolder. The item being closed is specified
in the event.item field. Setting the event.doit field to false will stop the CTabItem from closing.
When the CTabItem is closed, it is disposed. The contents of the CTabItem (see CTabItem.setControl) will be
made not visible when the CTabItem is closed.
-
-
-
Parameters:
-
event
- an event indicating the item being closed -
See Also:
-
CTabItem.setControl(org.eclipse.swt.widgets.Control)
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.