Public Member Functions |
|
__init__ () | |
The optional action object must support
'activate' and 'deactivate' methods which will be called to
activate and deactivate selected alternative groups. |
|
enableNodeDeletionMonitoring () | |
isNodeDeletionMonitoringEnabled () | |
setNodeDeletingCallback () | |
getNodeDeletingCallback () | |
__eq__ () | |
__ne__ () | |
__setitem__ () | |
__str__ () | |
cleanup () | |
Cleanup our complex objects. |
|
generateAlternativeName () | |
append () | |
remove () | |
Remove the item from the alternative set.
|
|
changed () | |
This "virtual" method is called whenever the
current item on the list is modified and when items are added and
removed from the list. |
|
getActiveIndex () | |
setActiveIndex () | |
getAlternative () | |
chooseAlternative () | |
nextAlternative () | |
prevAlternative () | |
Public Attributes |
|
label = property(__getLabel, __setLabel) | |
current = property( __getCurrent, __setCurrent ) | |
name = property( __getName, __setName ) | |
id = property( __getNameId, __setName ) | |
type = property( __getType, __setType ) | |
open = property( __getOpen, __setOpen ) |
AlternativeSet.AlternativeSet.__init__ | ( | ) |
The optional action object must support 'activate' and 'deactivate' methods which will be called to activate and deactivate selected alternative groups.
This decouples the application action associated with an alternative choice from the alternative set implementation.
AlternativeSet.AlternativeSet.enableNodeDeletionMonitoring | ( | ) |
AlternativeSet.AlternativeSet.isNodeDeletionMonitoringEnabled | ( | ) |
AlternativeSet.AlternativeSet.setNodeDeletingCallback | ( | ) |
AlternativeSet.AlternativeSet.getNodeDeletingCallback | ( | ) |
AlternativeSet.AlternativeSet.__eq__ | ( | ) |
AlternativeSet.AlternativeSet.__ne__ | ( | ) |
AlternativeSet.AlternativeSet.__setitem__ | ( | ) |
AlternativeSet.AlternativeSet.__str__ | ( | ) |
AlternativeSet.AlternativeSet.cleanup | ( | ) |
Cleanup our complex objects.
AlternativeSet.AlternativeSet.generateAlternativeName | ( | ) |
AlternativeSet.AlternativeSet.append | ( | ) |
AlternativeSet.AlternativeSet.remove | ( | ) |
Remove the item from the alternative set.
If the item that is being removed is also a current item, set the current item to None.
AlternativeSet.AlternativeSet.changed | ( | ) |
This "virtual" method is called whenever the current item on the list is modified and when items are added and removed from the list.
If we have an action object then we invoke it according to the change that took place:
AlternativeSet.AlternativeSet.getActiveIndex | ( | ) |
AlternativeSet.AlternativeSet.setActiveIndex | ( | ) |
AlternativeSet.AlternativeSet.getAlternative | ( | ) |
AlternativeSet.AlternativeSet.chooseAlternative | ( | ) |
AlternativeSet.AlternativeSet.nextAlternative | ( | ) |
AlternativeSet.AlternativeSet.prevAlternative | ( | ) |
AlternativeSet.AlternativeSet.label = property(__getLabel, __setLabel) |
AlternativeSet.AlternativeSet.current = property( __getCurrent, __setCurrent ) |
AlternativeSet.AlternativeSet.name = property( __getName, __setName ) |
AlternativeSet.AlternativeSet.id = property( __getNameId, __setName ) |
AlternativeSet.AlternativeSet.type = property( __getType, __setType ) |
AlternativeSet.AlternativeSet.open = property( __getOpen, __setOpen ) |