|
|||||||||
| Home >> All >> org >> eclipse >> swt >> [ custom overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.swt.custom
Class CTabFolder2Adapter

java.lang.Objectorg.eclipse.swt.custom.CTabFolder2Adapter
- All Implemented Interfaces:
- CTabFolder2Listener, java.util.EventListener, org.eclipse.swt.internal.SWTEventListener
- public class CTabFolder2Adapter
- extends java.lang.Object
- implements CTabFolder2Listener
- extends java.lang.Object
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:
- 3.0
| Constructor Summary | |
CTabFolder2Adapter()
|
|
| Method Summary | |
void |
close(CTabFolderEvent event)
Sent when the user clicks on the close button of an item in the CTabFolder. |
void |
maximize(CTabFolderEvent event)
Sent when the user clicks on the maximize button of a CTabFolder. |
void |
minimize(CTabFolderEvent event)
Sent when the user clicks on the minimize button of a CTabFolder. |
void |
restore(CTabFolderEvent event)
Sent when the user clicks on the restore button of a CTabFolder. |
void |
showList(CTabFolderEvent event)
Sent when the user clicks on the chevron button of a CTabFolder. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
CTabFolder2Adapter
public CTabFolder2Adapter()
| Method Detail |
close
public void close(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.
The default behaviour is to close the CTabItem.
- Specified by:
closein interfaceCTabFolder2Listener
minimize
public void minimize(CTabFolderEvent event)
- Sent when the user clicks on the minimize button of a CTabFolder.
The default behaviour is to do nothing.
- Specified by:
minimizein interfaceCTabFolder2Listener
maximize
public void maximize(CTabFolderEvent event)
- Sent when the user clicks on the maximize button of a CTabFolder.
The default behaviour is to do nothing.
- Specified by:
maximizein interfaceCTabFolder2Listener
restore
public void restore(CTabFolderEvent event)
- Sent when the user clicks on the restore button of a CTabFolder.
The default behaviour is to do nothing.
- Specified by:
restorein interfaceCTabFolder2Listener
showList
public void showList(CTabFolderEvent event)
- Sent 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 interfaceCTabFolder2Listener
|
|||||||||
| Home >> All >> org >> eclipse >> swt >> [ custom overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.eclipse.swt.custom.CTabFolder2Adapter