public interface CTabFolder2Listener
After creating an instance of a class that implements
this interface it can be added to a CTabFolder using the
addCTabFolder2Listener
method and removed using
the removeCTabFolder2Listener
method. When
events occurs in a CTabFolder the appropriate method
will be invoked.
CTabFolder2Adapter
,
CTabFolderEvent
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 the CTabFolder.
|
void close(CTabFolderEvent event)
event
- an event indicating the item being closedvoid minimize(CTabFolderEvent event)
event
- an event containing information about the minimizeCTabFolder.getMinimized()
,
CTabFolder.setMinimized(boolean)
,
CTabFolder.setMinimizeVisible(boolean)
void maximize(CTabFolderEvent event)
event
- an event containing information about the maximizeCTabFolder.getMaximized()
,
CTabFolder.setMaximized(boolean)
,
CTabFolder.setMaximizeVisible(boolean)
void restore(CTabFolderEvent event)
event
- an event containing information about the restoreCTabFolder.getMinimized()
,
CTabFolder.getMaximized()
,
CTabFolder.setMinimized(boolean)
,
CTabFolder.setMinimizeVisible(boolean)
,
CTabFolder.setMaximized(boolean)
,
CTabFolder.setMaximizeVisible(boolean)
void showList(CTabFolderEvent event)
false
and displaying a selection list.event
- an event containing information about the show listCTabFolder.setSelection(CTabItem)
Copyright (c) EclipseSource and others 2002, 2017.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0