Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Inspector class. More...
#include <ivstudio/inspectors/listedt.h>
Public Member Functions | |
IlvStIPropertiesEditor (IlvStIPropertiesAccessor *acc=0, const char *name=0) | |
Initializes an instance of IlvStIPropertiesEditor . | |
virtual IlBoolean | connectHolder (IlvGraphicHolder *) |
Connects the specified holder with the editor. | |
virtual IlBoolean | initialize () |
Initializes the editor. | |
virtual void | setModified (IlBoolean=IlTrue) |
Sets the modification state of the editor. | |
virtual void | setState (State=Active, IlBoolean=IlTrue) |
Sets the state of the editor. | |
Protected Member Functions | |
virtual void | fillGadget ()=0 |
Called when the editor is initialized to fill the gadget. | |
virtual void | refreshSelection ()=0 |
Rebuilds the selected gadget item. |
Inspector class.
Library: ivstudio
This class defines a set editor. It handles a number of gadgets.
IlvStIPropertiesEditor::IlvStIPropertiesEditor | ( | IlvStIPropertiesAccessor * | acc = 0 , |
|
const char * | name = 0 | |||
) |
Initializes an instance of IlvStIPropertiesEditor
.
acc | The set accessor. | |
name | The editor name. |
virtual IlBoolean IlvStIPropertiesEditor::connectHolder | ( | IlvGraphicHolder * | holder | ) | [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 IlvStIPropertyListEditor, and IlvStIPropertyTreeEditor.
virtual void IlvStIPropertiesEditor::fillGadget | ( | ) | [protected, pure 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 IlvStIPropertyListEditor, and IlvStIPropertyTreeEditor.
virtual IlBoolean IlvStIPropertiesEditor::initialize | ( | ) | [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.
virtual void IlvStIPropertiesEditor::refreshSelection | ( | ) | [protected, pure virtual] |
Rebuilds the selected gadget item.
Rebuilds the selected gadget item to reflect modifications made to the accessor.
Implemented in IlvStIPropertyListEditor, and IlvStIPropertyTreeEditor.
virtual void IlvStIPropertiesEditor::setModified | ( | IlBoolean | modified = IlTrue |
) | [virtual] |
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 void IlvStIPropertiesEditor::setState | ( | State | state = Active , |
|
IlBoolean | redraw = IlTrue | |||
) | [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.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.