CTabFolder2Listener interface.
Classes that wish to deal with CTabFolderEvents can
extend this class and override only the methods which they are
interested in.
An alternative to this class are the static helper methods in
CTabFolder2Listener,
which accept a lambda expression or a method reference that implements the event consumer.
CTabFolder2Listener, CTabFolderEvent, Sample code and further information
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close(CTabFolderEvent
an event indicating the item being closed event)Implements org. |
| public void | maximize(CTabFolderEvent
an event containing information about the maximize event)Implements org. |
| public void | minimize(CTabFolderEvent
an event containing information about the minimize event)Implements org. |
| public void | restore(CTabFolderEvent
an event containing information about the restore event)Implements org. |
| public void | showList(CTabFolderEvent
an event containing information about the show list event)Implements org. |
| CTabFolder2Adapter | back to summary |
|---|---|
| public CTabFolder2Adapter() | |
| close | back to summary |
|---|---|
| public void close(CTabFolderEvent event) Implements org. 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.
| |
| maximize | back to summary |
|---|---|
| public void maximize(CTabFolderEvent event) Implements org. Sent when the user clicks on the maximize button of a CTabFolder. The default behaviour is to do nothing.
| |
| minimize | back to summary |
|---|---|
| public void minimize(CTabFolderEvent event) Implements org. Sent when the user clicks on the minimize button of a CTabFolder. The default behaviour is to do nothing.
| |
| restore | back to summary |
|---|---|
| public void restore(CTabFolderEvent event) Implements org. Sent when the user clicks on the restore button of a CTabFolder. The default behaviour is to do nothing.
| |
| showList | back to summary |
|---|---|
| public void showList(CTabFolderEvent event) Implements org. 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.
| |