Package AccessEngine :: Package AEEvent :: Module PrivateChange :: Class PrivateChange
[hide private]
[frames] | no frames]

Class PrivateChange

source code

  object --+    
           |    
Base.AEEvent --+
               |
              PrivateChange

Event that fires when some change occurs.

Instance Methods [hide private]
 
__init__(self, kind, **kwargs)
Calls the base class and stores the kind and data.
source code
boolean
execute(self)
Contacts the AETierManager so it can manage the private event.
source code
dictionary
getDataForTask(self)
Fetches data out of this PrivateChange for use by the AETierManager or a AETier.
source code

Inherited from Base.AEEvent: __str__, getAppID, getLayer, getPOR, getPriority, getTimestamp, setLayer, setPriority

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]
  KEY_PRESS = 0
Instance Variables [hide private]
integer kind
Kind of chage, one of class variables in this class
dictionary kwargs
Aribitrary data to be provided with the event

Inherited from Base.AEEvent: layer, por, priority

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, kind, **kwargs)
(Constructor)

source code 
Calls the base class and stores the kind and data.
Parameters:
  • kind (integer) - Kind of chage, one of class variables in this class
  • kwargs (dictionary) - Aribitrary data to be provided with the event
Overrides: Base.AEEvent.__init__

execute(self)

source code 
Contacts the AETierManager so it can manage the private event.
Returns: boolean
Always True to indicate the event executed properly
Overrides: Base.AEEvent.execute

getDataForTask(self)

source code 
Fetches data out of this PrivateChange for use by the AETierManager or a AETier.
Returns: dictionary
Dictionary of parameters to be passed to a AEScript.EventScript.onMouseChange-Task as follows:
  • kind: The kind of event
  • any additional data in the kwargs instance variable
Overrides: Base.AEEvent.getDataForTask