Package org.eclipse.swt.custom
Class CTabFolder2Adapter
java.lang.Object
org.eclipse.swt.custom.CTabFolder2Adapter
- All Implemented Interfaces:
- CTabFolder2Listener
This adapter class provides default implementations for the
 methods described by the 
CTabFolder2Listener interface.
 
 Classes that wish to deal with CTabFolderEvents can
 extend this class and override only the methods which they are
 interested in.
 
- Since:
- 1.0
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose(CTabFolderEvent event) Sent when the user clicks on the close button of an item in the CTabFolder.voidmaximize(CTabFolderEvent event) Sent when the user clicks on the maximize button of a CTabFolder.voidminimize(CTabFolderEvent event) Sent when the user clicks on the minimize button of a CTabFolder.voidrestore(CTabFolderEvent event) Sent when the user clicks on the restore button of a CTabFolder.voidshowList(CTabFolderEvent event) Sent when the user clicks on the chevron button of a CTabFolder.
- 
Constructor Details- 
CTabFolder2Adapterpublic CTabFolder2Adapter()
 
- 
- 
Method Details- 
closeSent 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.The default behaviour is to close the CTabItem. - Specified by:
- closein interface- CTabFolder2Listener
- Parameters:
- event- an event indicating the item being closed
 
- 
minimizeSent when the user clicks on the minimize button of a CTabFolder.The default behaviour is to do nothing. - Specified by:
- minimizein interface- CTabFolder2Listener
- Parameters:
- event- an event containing information about the minimize
- See Also:
 
- 
maximizeSent when the user clicks on the maximize button of a CTabFolder.The default behaviour is to do nothing. - Specified by:
- maximizein interface- CTabFolder2Listener
- Parameters:
- event- an event containing information about the maximize
- See Also:
 
- 
restoreSent when the user clicks on the restore button of a CTabFolder.The default behaviour is to do nothing. - Specified by:
- restorein interface- CTabFolder2Listener
- Parameters:
- event- an event containing information about the restore
- See Also:
 
- 
showListSent when the user clicks on the chevron button of a CTabFolder.The default behaviour is to show a list of items that are not currently visible and to change the selection based on the item selected from the list. - Specified by:
- showListin interface- CTabFolder2Listener
- Parameters:
- event- an event containing information about the show list
- See Also:
 
 
-