|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 CTabFolderEvent
s can
extend this class and override only the methods which they are
interested in.
CTabFolder2Listener
,
CTabFolderEvent
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 CTabFolder2Listener
event
- an event indicating the item being closedpublic void minimize(CTabFolderEvent event)
The default behaviour is to do nothing.
minimize
in interface CTabFolder2Listener
event
- 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 CTabFolder2Listener
event
- 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 CTabFolder2Listener
event
- 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 CTabFolder2Listener
event
- an event containing information about the show listCTabFolder.setSelection(CTabItem)
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0