Rogue Wave Views Studio Package API Reference Guide |
Rogue Wave Views Documentation Home |
Inspector class. More...
#include <ivstudio/inspectors/gadpnl.h>
Public Member Functions | |
IlvStIGadgetInspectorPanel (IlvDisplay *display, const char *title, const char *filename=0, IlvSystemView transientFor=0, IlvStIAccessor::UpdateMode mode=IlvStIAccessor::OnApply) | |
Initializes a new instance of IlvStIGadgetInspectorPanel . More... | |
virtual void | applyChange (IlvGraphic *) |
Called to apply the modifications to the graphic object. More... | |
virtual void | initFrom (IlvGraphic *) |
Called to initialize the editors with the graphic object. More... | |
virtual void | initializeEditors () |
Called to initialize the editors. More... | |
Public Member Functions inherited from IlvStIGraphicInspectorPanel | |
IlvStIGraphicInspectorPanel (IlvDisplay *display, const char *title, const char *filename=0, IlvSystemView transientFor=0, IlvStIAccessor::UpdateMode mode=IlvStIAccessor::OnApply) | |
Initializes a new instance of IlvStIGraphicInspectorPanel . More... | |
Public Member Functions inherited from IlvStInspectorPanel | |
IlvStInspectorPanel (IlvDisplay *display, const char *title, const char *filename=0, IlvSystemView transientFor=0, IlvStIAccessor::UpdateMode mode=IlvStIAccessor::OnApply) | |
Initializes a new instance of IlvStInspectorPanel . More... | |
void | addAccessor (IlvStIAccessor *acc) |
Adds the accessor to the main editor of the inspector panel. More... | |
void | addEditor (IlvStIEditor *editor) |
Adds the editor to the list of editors. More... | |
IlvNotebookPage * | addPage (const char *title, const char *filename, IlUShort idx=(IlUShort) -1, IlvBitmap *bitmap=0, IlBoolean transparent=IlTrue) |
Creates a notebook page. More... | |
IlvStIPropertyAccessor * | buildPropertyAccessor (const char *name) |
Creates an accessor to the property of the inspected object. More... | |
IlvStIAccessor * | findAccessor (const char *name) |
Searches for the accessor in the tree of accessors. More... | |
const IlvStIAccessor * | findAccessor (const char *name) const |
Searches for the accessor in the tree of accessors. More... | |
IlvStIEditor * | findEditor (const char *name) |
Searches for an editor. More... | |
const IlvStIEditor * | findEditor (const char *name) const |
Searches for an editor. More... | |
IlvNotebook * | getGenericNotebook () const |
Returns the generic notebook of the inspector panel. More... | |
IlvStIInspectedObjectAccessor * | getInspectedGraphicAccessor () const |
Returns the accessor to the inspected object. More... | |
IlvGraphic * | getInspectedObject () |
Returns the current inspected object. More... | |
IlvStIAccessor ** | getInspectedObjectAccessors (IlUInt &count) const |
Returns the array of accessors to the inspected object. More... | |
IlvStIMainEditor & | getMainEditor () |
Returns the main editor. More... | |
const IlvStIMainEditor & | getMainEditor () const |
Returns the main editor. More... | |
IlvGraphic * | getPanelObject (const char *name) const |
Returns a graphic object in the inspector panel. More... | |
IlvStIEditor * | link (const char *gadgetName, const IlSymbol *valueName, IlvStIEditor::NotificationMode mode=IlvStIEditor::AsOwner) |
Creates an editor which is associated with a gadget. More... | |
IlvStIEditor * | link (const char *gadgetName, IlvStIPropertyAccessor *accessor, IlvStIEditor::NotificationMode mode=IlvStIEditor::AsOwner) |
Creates an editor which is associated with a gadget. More... | |
IlBoolean | removeAccessor (IlvStIAccessor *acc) |
Removes the accessor from the main editor of the inspector panel. More... | |
IlBoolean | removeEditor (const char *name) |
Removes an editor. More... | |
IlBoolean | removeEditor (IlvStIEditor *editor) |
Removes an editor. More... | |
IlBoolean | removePage (IlUShort idx) |
Removes a notebook page from the generic notebook. More... | |
Inspector class.
Library: ivstudio
This class defines an inspector panel for gadgets.
IlvStIGadgetInspectorPanel::IlvStIGadgetInspectorPanel | ( | IlvDisplay * | display, |
const char * | title, | ||
const char * | filename = 0 , |
||
IlvSystemView | transientFor = 0 , |
||
IlvStIAccessor::UpdateMode | mode = IlvStIAccessor::OnApply |
||
) |
Initializes a new instance of IlvStIGadgetInspectorPanel
.
display | The display used to create the inspector panel. |
title | The title of the inspector panel. |
filename | The path to the .ilv file that loads the inspector. |
transientFor | The view system for which the inspector is transient. |
mode | Specifies when the modifications are applied to the inspected object. By default, modifications are performed when the user presses the Apply button. |
|
virtual |
Called to apply the modifications to the graphic object.
obj | The graphic object. |
Reimplemented from IlvStIGraphicInspectorPanel.
|
virtual |
Called to initialize the editors with the graphic object.
obj | The graphic object. |
Reimplemented from IlvStIGraphicInspectorPanel.
|
virtual |
Called to initialize the editors.
Adds or removes notebook pages from the inspector panel and creates all the editors and accessors of the inspector panel. Pages should be added to the inspector panel before adding the editors that are associated with the gadgets in these pages.
Reimplemented from IlvStIGraphicInspectorPanel.
© Copyright 2017, 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.