Class Index | File Index

Classes


Class zwt.ui.ListSelectionModelEvent


Extends zwt.event.Event.

A list selection model event is emitted when an event occurs on a list selection model.


Defined in: ListSelectionModelEvent.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
zwt.ui.ListSelectionModelEvent(int_type, array_elements)
Construct a list selection model event.
Field Summary
Field Attributes Field Name and Description
<static>  
zwt.ui.ListSelectionModelEvent.DESELECT_ELEMENT
Constant used to indicate an element deselect event
<static>  
zwt.ui.ListSelectionModelEvent.SELECT_ELEMENT
Constant used to indicate an element select event
Method Summary
Method Attributes Method Name and Description
 
getElement(int_index)
Return the index of the element in the data model at the specified index in the array of elements affected by the event.
 
Return the number of elements affected by the event.
Methods borrowed from class zwt.event.Event:
getType, isCancelBubble, setCancelBubble, touch
Class Detail
zwt.ui.ListSelectionModelEvent(int_type, array_elements)
Construct a list selection model event.
Author: Jeremy KUHN.
Parameters:
{Integer} int_type
The event type.
{Integer[]} array_elements
The array of elements (indices) in the model affected by the event.
See:
zwt.ui.ListSelectionModel
zwt.ui.ListSelectionModelEventManager
Field Detail
<static> {Integer} zwt.ui.ListSelectionModelEvent.DESELECT_ELEMENT
Constant used to indicate an element deselect event

<static> {Integer} zwt.ui.ListSelectionModelEvent.SELECT_ELEMENT
Constant used to indicate an element select event
Method Detail
{Integer} getElement(int_index)
Return the index of the element in the data model at the specified index in the array of elements affected by the event.
Parameters:
int_index
Returns:
The element in the event

{Integer} getElementCount()
Return the number of elements affected by the event.
Returns:
The number of elements

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jan 12 2012 02:07:53 GMT+0100 (CET)