| Package | org.aswing.event |
| Class | public class TabCloseEvent |
| Inheritance | TabCloseEvent AWEvent flash.events.Event |
| Method | Defined by | ||
|---|---|---|---|
|
TabCloseEvent(index:int)
| TabCloseEvent | ||
|
clone():Event
| TabCloseEvent | ||
|
getIndex():int
Return the index of tab that close button clicked.
| TabCloseEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
![]() | ACT : String = "act" [static]
The
AWEvent.ACT constant defines the value of the
type property of the event object for a act event. | AWEvent | |
![]() | FOCUS_GAINED : String = "focusGained" [static]
The
AWEvent.FOCUS_GAINED constant defines the value of the
type property of the event object for a focusGained event. | AWEvent | |
![]() | FOCUS_LOST : String = "focusLost" [static]
The
AWEvent.FOCUS_LOST constant defines the value of the
type property of the event object for a focusLost event. | AWEvent | |
![]() | HIDDEN : String = "hidden" [static]
The
AWEvent.HIDDEN constant defines the value of the
type property of the event object for a hidden event. | AWEvent | |
![]() | PAINT : String = "paint" [static]
The
AWEvent.PAINT constant defines the value of the
type property of the event object for a paint event. | AWEvent | |
![]() | SHOWN : String = "shown" [static]
The
AWEvent.SHOWN constant defines the value of the
type property of the event object for a shown event. | AWEvent | |
| TAB_CLOSING : String = "tabClosing" [static]
The
TabCloseEvent.TAB_CLOSING constant defines the value of the
type property of the event object for a tabClosing event. | TabCloseEvent | ||
| TabCloseEvent | () | constructor |
public function TabCloseEvent(index:int)Parameters
index:int |
| clone | () | method |
public override function clone():Event
Returns
Event |
| getIndex | () | method |
public function getIndex():intReturn the index of tab that close button clicked.
Returnsint |
| TAB_CLOSING | constant |
public static const TAB_CLOSING:String = "tabClosing"
The TabCloseEvent.TAB_CLOSING constant defines the value of the
type property of the event object for a tabClosing event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getIndex() | the tab index |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |