Package muntjac :: Package data :: Package util :: Module indexed_container :: Class ItemSetChangeEvent
[hide private]
[frames] | no frames]

Class ItemSetChangeEvent

source code

                           object --+        
                                    |        
                     util.EventObject --+    
                                        |    
                           object --+   |    
                                    |   |    
                 container.IContainer --+    
                                        |    
                           object --+   |    
                                    |   |    
        container.IItemSetChangeEvent --+    
                                        |    
abstract_container.BaseItemSetChangeEvent --+
                                            |
                                           ItemSetChangeEvent

An Event object specifying the list whose IItem set has changed.


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Instance Methods [hide private]
 
__init__(self, source, addedItemIndex)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getAddedItemIndex(self)
Iff one item is added, gives its index.
source code

Inherited from abstract_container.BaseItemSetChangeEvent: getContainer

Inherited from util.EventObject: getSource

Inherited from container.IContainer: addContainerProperty, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, removeItem, size

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, source, addedItemIndex)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getAddedItemIndex(self)

source code 

Iff one item is added, gives its index.

Returns:
-1 if either multiple items are changed or some other change than add is done.