Package org.eclipse.swt.custom
Class CTabFolderEvent
java.lang.Object
java.util.EventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.custom.CTabFolderEvent
- All Implemented Interfaces:
Serializable
This event is sent when an event is generated in the CTabFolder.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
A flag indicating whether the operation should be allowed.int
The height of the chevron button at the time of the event.The tab item for the operation.int
The width of the chevron button at the time of the event.int
The widget-relative, x coordinate of the chevron button at the time of the event.int
The widget-relative, y coordinate of the chevron button at the time of the event.Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
Fields inherited from class java.util.EventObject
source
-
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
item
The tab item for the operation. -
doit
public boolean doitA flag indicating whether the operation should be allowed. Setting this field tofalse
will cancel the operation. Applies to the close and showList events. -
x
public int xThe widget-relative, x coordinate of the chevron button at the time of the event. Applies to the showList event.- Since:
- 3.0
-
y
public int yThe widget-relative, y coordinate of the chevron button at the time of the event. Applies to the showList event.- Since:
- 3.0
-
width
public int widthThe width of the chevron button at the time of the event. Applies to the showList event.- Since:
- 3.0
-
height
public int heightThe height of the chevron button at the time of the event. Applies to the showList event.- Since:
- 3.0
-
-
Method Details
-
toString
Returns a string containing a concise, human-readable description of the receiver.- Overrides:
toString
in classTypedEvent
- Returns:
- a string representation of the event
-