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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanA flag indicating whether the operation should be allowed.intThe height of the chevron button at the time of the event.The tab item for the operation.(package private) static final longintThe width of the chevron button at the time of the event.intThe widget-relative, x coordinate of the chevron button at the time of the event.intThe widget-relative, y coordinate of the chevron button at the time of the event.Fields inherited from class TypedEvent
data, display, time, widgetFields inherited from class EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class 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 tofalsewill 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
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Constructor Details
-
CTabFolderEvent
CTabFolderEvent(Widget w) Constructs a new instance of this class.- Parameters:
w- the widget that fired the event
-
-
Method Details
-
toString
Returns a string containing a concise, human-readable description of the receiver.- Overrides:
toStringin classTypedEvent- Returns:
- a string representation of the event
-