Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Inspector class. More...
#include <ivstudio/inspectors/genacces.h>
Inherits IlvStIValueInterAccessor.
Public Member Functions | |
IlvStIGraphicContainerAccessor (IlvGraphicHolder *holder=0, const char *name=0, UpdateMode updateMode=Inherited, BuildMode buildMode=None) | |
Constructor. | |
virtual IlvGraphic * | getGraphic () |
Returns the graphic object to be accessed. | |
Protected Member Functions | |
virtual void | applyValue (IlvStIProperty *) |
Called to change the property of the inspected object. | |
virtual IlvStIProperty * | getOriginalValue () |
Called to retrieve the property from the inspected object. |
Inspector class.
Library: ivstudio
This class is used to return a graphic object held by a container. This class can be used, for example, to access a graphic object that serves as a preview object inside the inspector panel.
IlvStIGraphicContainerAccessor::IlvStIGraphicContainerAccessor | ( | IlvGraphicHolder * | holder = 0 , |
|
const char * | name = 0 , |
|||
UpdateMode | updateMode = Inherited , |
|||
BuildMode | buildMode = None | |||
) |
Constructor.
holder | The container that holds the object to be accessed. | |
name | The accessor name. | |
updateMode | The update mode of the accessor. | |
buildMode | The build mode of the accessor. |
virtual void IlvStIGraphicContainerAccessor::applyValue | ( | IlvStIProperty * | prop | ) | [protected, virtual] |
Called to change the property of the inspected object.
Is called by the apply
method to change the property of the inspected object. Because the apply
method performs internal operations, such as handling the building mode, we recommend that you redefine the applyValue
method instead of the apply
method.
prop | The new value. |
Reimplemented from IlvStIPropertyAccessor.
virtual IlvGraphic* IlvStIGraphicContainerAccessor::getGraphic | ( | ) | [virtual] |
Returns the graphic object to be accessed.
virtual IlvStIProperty* IlvStIGraphicContainerAccessor::getOriginalValue | ( | ) | [protected, virtual] |
Called to retrieve the property from the inspected object.
Is called by the get
method to retrieve the property from the inspected object. Because the get
method performs internal operations, such as handling the building mode, we recommend that you redefine the getOriginalValue
method instead of the get
method.
Reimplemented from IlvStIPropertyAccessor.
© 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.