Package pyffi :: Package object_models :: Module editable :: Class EditableBase
[hide private]
[frames] | no frames]

Class EditableBase

source code

object --+
         |
        EditableBase
Known Subclasses:

The base class for all delegates.
Instance Methods [hide private]
any (whatever is appropriate for the particular implementation of the editor)
get_editor_value(self)
Return data as a value to initialize an editor with.
source code
 
set_editor_value(self, editorvalue)
Set data from the editor value.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_editor_value(self)

source code 
Return data as a value to initialize an editor with. Override this method.
Returns: any (whatever is appropriate for the particular implementation of the editor)
A value for the editor.

set_editor_value(self, editorvalue)

source code 
Set data from the editor value. Override this method.
Parameters:
  • editorvalue (any (whatever is appropriate for the particular implementation of the editor)) - The value of the editor.