|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.custom.CTabFolder2Adapter
public class CTabFolder2Adapter
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.
CTabFolder2Listener,
CTabFolderEvent,
Sample code and further information| 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 |
|---|
public CTabFolder2Adapter()
| Method Detail |
|---|
public void close(CTabFolderEvent event)
The default behaviour is to close the CTabItem.
close in interface CTabFolder2Listenerevent - an event indicating the item being closedpublic void minimize(CTabFolderEvent event)
The default behaviour is to do nothing.
minimize in interface CTabFolder2Listenerevent - an event containing information about the minimizeCTabFolder.getMinimized(),
CTabFolder.setMinimized(boolean),
CTabFolder.setMinimizeVisible(boolean)public void maximize(CTabFolderEvent event)
The default behaviour is to do nothing.
maximize in interface CTabFolder2Listenerevent - an event containing information about the maximizeCTabFolder.getMaximized(),
CTabFolder.setMaximized(boolean),
CTabFolder.setMaximizeVisible(boolean)public void restore(CTabFolderEvent event)
The default behaviour is to do nothing.
restore in interface CTabFolder2Listenerevent - an event containing information about the restoreCTabFolder.getMinimized(),
CTabFolder.getMaximized(),
CTabFolder.setMinimized(boolean),
CTabFolder.setMinimizeVisible(boolean),
CTabFolder.setMaximized(boolean),
CTabFolder.setMaximizeVisible(boolean)public void showList(CTabFolderEvent event)
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.
showList in interface CTabFolder2Listenerevent - an event containing information about the show listCTabFolder.setSelection(CTabItem)
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.