Inspector class. More...
#include <ivstudio/inspectors/listedt.h>
Public Member Functions | |
IlvStIPropertiesEditor (IlvStIPropertiesAccessor *accessor=0, const char *name=0) | |
Initializes a new instance of IlvStIPropertiesEditor . More... | |
virtual IlBoolean | connectHolder (IlvGraphicHolder *) |
Connects the specified holder with the editor. More... | |
virtual IlBoolean | initialize () |
Initializes the editor. More... | |
virtual void | setModified (IlBoolean=IlTrue) |
Sets the modification state of the editor. More... | |
virtual void | setState (State=Active, IlBoolean=IlTrue) |
Sets the state of the editor. More... | |
Protected Member Functions | |
virtual void | fillGadget ()=0 |
Called when the editor is initialized to fill the gadget. More... | |
virtual void | refreshSelection ()=0 |
Rebuilds the selected gadget item. More... | |
Inspector class.
Library: ivstudio
This class defines an editor for a set of several gadgets.
IlvStIPropertiesAccessor
. IlvStIPropertiesEditor::IlvStIPropertiesEditor | ( | IlvStIPropertiesAccessor * | accessor = 0 , |
const char * | name = 0 |
||
) |
Initializes a new instance of IlvStIPropertiesEditor
.
accessor | The accessor for the set. |
name | The editor name. |
|
virtual |
Connects the specified holder with the editor.
Connects the specified holder with the editor. For example, a gadget editor finds the gadget inside the holder and adds a callback to it.
holder | The holder. |
IlTrue
if the operation succeeds otherwise returns IlFalse
. Reimplemented from IlvStIEditor.
Reimplemented in IlvStIPropertyTreeEditor, and IlvStIPropertyListEditor.
|
protectedpure virtual |
Called when the editor is initialized to fill the gadget.
Is called when the editor is initialized to fill the list (or tree) gadget with items corresponding to the edited property list (or tree).
Implemented in IlvStIPropertyTreeEditor, and IlvStIPropertyListEditor.
|
virtual |
Initializes the editor.
In the case of gadget editors, this method gets an initialization value from the accessor and sets this value to the gadget.
IlTrue
if the operation succeeds otherwise returns IlFalse
. Implements IlvStIEditor.
|
protectedpure virtual |
Rebuilds the selected gadget item.
Rebuilds the selected gadget item to reflect modifications made to the accessor.
Implemented in IlvStIPropertyTreeEditor, and IlvStIPropertyListEditor.
Sets the modification state of the editor.
Sets the modification state of the editor. By default, it sets the modification state of the associated accessor.
modified | The new modification state of the editor. |
Reimplemented from IlvStIEditor.
|
virtual |
Sets the state of the editor.
state | The new state. |
redraw | If IlTrue , the editor will be redrawn. |
Reimplemented from IlvStIEditor.
Reimplemented in IlvStIPropertyTreeEditor.