Package org.eclipse.swt.custom
Class CTabFolderAdapter
java.lang.Object
org.eclipse.swt.custom.CTabFolderAdapter
- All Implemented Interfaces:
EventListener
,CTabFolderListener
,SWTEventListener
This adapter class provides a default implementation for the
method described by the
CTabFolderListener
interface.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
itemClosed
(CTabFolderEvent event) Sent when the user clicks on the close button of an item in the CTabFolder.
-
Constructor Details
-
CTabFolderAdapter
public CTabFolderAdapter()
-
-
Method Details
-
itemClosed
Description copied from interface:CTabFolderListener
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.- Specified by:
itemClosed
in interfaceCTabFolderListener
- Parameters:
event
- an event indicating the item being closed- See Also:
-