public class CTabFolder2Adapter extends java.lang.Object implements CTabFolder2Listener
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| Constructor and Description |
|---|
CTabFolder2Adapter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)
Copyright (c) EclipseSource and others 2002, 2018.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0