Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Inspector class. More...
#include <ivstudio/inspectors/genedt.h>
Public Member Functions | |
IlvStIPropertyEditorSet (const char *name=0, IlvStIPropertyAccessor *accessor=0, NotificationMode mode=AsOwner) | |
Initializes an instance of IlvStIPropertyEditorSet . | |
virtual IlvStIPropertyAccessor * | getAccessor () const |
Returns the accessor associated with the editor. | |
virtual IlBoolean | initialize () |
Initializes the editor. | |
IlBoolean | isModified () const |
Returns IlTrue if the editor is modified. |
Inspector class.
Library: ivstudio
This class defines an editor set that contains an accessor. It locks the accessor in the constructor and unlocks it in the destructor.
IlvStIPropertyEditorSet::IlvStIPropertyEditorSet | ( | const char * | name = 0 , |
|
IlvStIPropertyAccessor * | accessor = 0 , |
|||
NotificationMode | mode = AsOwner | |||
) |
Initializes an instance of IlvStIPropertyEditorSet
.
name | The name of the editor set. | |
accessor | The accessor managed by the editor. | |
mode | The notification mode of the editor. |
virtual IlvStIPropertyAccessor* IlvStIPropertyEditorSet::getAccessor | ( | ) | const [virtual] |
Returns the accessor associated with the editor.
0
. When the editor is added to the inspector panel, this latter calls this method to know whether the editor is associated with an accessor. If yes, the editor is initialized via the associated accessor. Otherwise, the stand-alone editor is initialized by the inspector panel and its apply
method is invoked to apply the changes. Reimplemented from IlvStIEditor.
virtual IlBoolean IlvStIPropertyEditorSet::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
. Reimplemented from IlvStIEditorSet.
Reimplemented in IlvStIDefaultEditorBuilder.
IlBoolean IlvStIPropertyEditorSet::isModified | ( | ) | const [virtual] |
Returns IlTrue
if the editor is modified.
IlTrue
if the editor is modified, IlFalse
otherwise. By default, it returns the modification state of the associated accessor. Reimplemented from IlvStIEditorSet.
© 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.