| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
parameterizedobject.Parameter --+
|
SelectorParameter --+
|
ClassSelectorParameter
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
__classdoc = str(object) -> string |
|||
|
|||
| class_ | |||
|
Inherited from Inherited from Inherited from |
|||
|
|||
Initialize a new Parameter object: store the supplied attributes. default: the owning class's value for the attribute represented by this Parameter. precedence is a value, usually in the range 0.0 to 1.0, that allows the order of Parameters in a class to be defined (for e.g. in GUI menus). A negative precedence indicates a parameter that should be hidden in e.g. GUI menus. default, doc, and precedence default to None. This is to allow inheritance of Parameter slots (attributes) from the owning-class' class hierarchy (see ParameterizedObjectMetaclass).
|
Set the value for this Parameter. If called for a ParameterizedObject class, set that class's value (i.e. set this Parameter object's 'default' attribute). If called for a ParameterizedObject instance, set the value of this Parameter on that instance (i.e. in the instance's __dict__, under the parameter's internal_name). If the Parameter's constant attribute is True, only allows the value to be set for a ParameterizedObject class or on uninitialized ParameterizedObject instances. If the Parameter's readonly attribute is True, only allows the value to be specified in the Parameter declaration inside the ParameterizedObject source code. A read-only parameter also cannot be set on a ParameterizedObject class. Note that until we support some form of read-only object, it is still possible to change the attributes of the object stored in a constant or read-only Parameter (e.g. the left bound of a BoundingBox).
|
Return the possible types for this parameter's value.
(I.e. return {name: <class>} for all classes that are
concrete_descendents() of self.class_.)
Only classes from modules that have been imported are added
(see concrete_descendents()).
|
|
|||
__classdocstr(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Feb 21 15:25:04 2008 | http://epydoc.sourceforge.net |