AlternativeSet.AlternativeSet Class Reference

#include <class_alternative_set_1_1_alternative_set.h>

Inheritance diagram for AlternativeSet.AlternativeSet:
Inheritance graph
[legend]

List of all members.

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 ()
  setActiveStateChangedCallback ()
  rebindContents ()
  getActiveStateChangedCallback ()
  __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 )

Member Function Documentation

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.

Reimplemented from PythonModelObject.PythonModelObject.

AlternativeSet.AlternativeSet.enableNodeDeletionMonitoring ( )
AlternativeSet.AlternativeSet.isNodeDeletionMonitoringEnabled ( )
AlternativeSet.AlternativeSet.setNodeDeletingCallback ( )
AlternativeSet.AlternativeSet.getNodeDeletingCallback ( )
AlternativeSet.AlternativeSet.setActiveStateChangedCallback ( )
AlternativeSet.AlternativeSet.rebindContents ( )
AlternativeSet.AlternativeSet.getActiveStateChangedCallback ( )
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 ( )

Member Data Documentation

AlternativeSet.AlternativeSet.current = property( __getCurrent, __setCurrent )

AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet
AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet AlternativeSet.AlternativeSet