| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object
|
+--xp.events.Event
|
+--xp.events.PanelEvent
Field Summary | ||
| action: String | ||
| Gets or sets a value indicating what action is/has taken place. | ||
| data: Object | ||
| The data item associated with this panel | ||
| index: Number | ||
| The index of the panel. | ||
| panel: Object | ||
| The panel that the action has been performed on. | ||
| prevIndex: Number | ||
| the index of the child that was previously selected. | ||
| type: String | ||
| The type of event, the string "panel" | ||
| ||
Constructor | ||
| public | PanelEvent ( panel: Object, index: Number, data: Object, action: String, prevIndex: Number) | |
| Constructs a new panel event | ||
| var action: String |
| Gets or sets a value indicating what action is/has taken place. This will be one of the following or a custom action defined by the user selecting selected opening opened closing closed For single selection panels only the select/selecting actions will fire with index referring to the panel that is about to be selected and prevIndex referring to the panel that was previously selected. For multiple selection panels both open and close events fire independently. |
| var data: Object |
| The data item associated with this panel |
| var index: Number |
| The index of the panel. |
| var panel: Object |
| The panel that the action has been performed on. |
| var prevIndex: Number |
| the index of the child that was previously selected. |
| var type: String |
| The type of event, the string "panel" |
|
| Constructs a new panel event | |||||||||||||||
|
The action property determine what action is taking place.
If the cancel property is set to true the action will be cancelled.