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

Class PrivateChange

source code

            object --+    
                     |    
Base.AccessEngineEvent --+
                         |
                        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, tier_manager, **kwargs)
Contacts the TierManager so it can manage the private event.
source code
dictionary
getDataForTask(self)
Fetches data out of this PrivateChange for use by the TierManager or a Tier.
source code

Inherited from Base.AccessEngineEvent: __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.AccessEngineEvent: focused, 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.AccessEngineEvent.__init__

execute(self, tier_manager, **kwargs)

source code 

Contacts the TierManager so it can manage the private event.

Parameters:
  • tier_manager (TierManager) - TierManager that will handle the event
  • kwargs (dictionary) - Packed references to other managers not of interest here
Returns: boolean
Always True to indicate the event executed properly
Overrides: Base.AccessEngineEvent.execute

getDataForTask(self)

source code 

Fetches data out of this PrivateChange for use by the TierManager or a Tier.

Returns: dictionary
Dictionary of parameters to be passed to a Task.MouseTask as follows:
  • kind: The kind of event
  • any additional data in the kwargs instance variable
Overrides: Base.AccessEngineEvent.getDataForTask