rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Studio Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvStIPropertyEditorSet Class Reference

Inspector class. More...

#include <ivstudio/inspectors/genedt.h>

Inheritance diagram for IlvStIPropertyEditorSet:
IlvStIEditorSet IlvStIEditor IlvStNamedObject IlvStIDefaultEditorBuilder

List of all members.

Public Member Functions

 IlvStIPropertyEditorSet (const char *name=0, IlvStIPropertyAccessor *accessor=0, NotificationMode mode=AsOwner)
 Initializes an instance of IlvStIPropertyEditorSet.
virtual IlvStIPropertyAccessorgetAccessor () const
 Returns the accessor associated with the editor.
virtual IlBoolean initialize ()
 Initializes the editor.
IlBoolean isModified () const
 Returns IlTrue if the editor is modified.

Detailed Description

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.

See also:
IlvStIDefaultEditorBuilder, IlvStIMainEditor.

Constructor & Destructor Documentation

IlvStIPropertyEditorSet::IlvStIPropertyEditorSet ( const char *  name = 0,
IlvStIPropertyAccessor accessor = 0,
NotificationMode  mode = AsOwner 
)

Initializes an instance of IlvStIPropertyEditorSet.

Parameters:
name The name of the editor set.
accessor The accessor managed by the editor.
mode The notification mode of the editor.

Member Function Documentation

virtual IlvStIPropertyAccessor* IlvStIPropertyEditorSet::getAccessor (  )  const [virtual]

Returns the accessor associated with the editor.

Returns:
The accessor associated with the editor, if any. By default, it returns 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.

Returns:
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.

Returns:
IlTrue if the editor is modified, IlFalse otherwise. By default, it returns the modification state of the associated accessor.

Reimplemented from IlvStIEditorSet.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.