Rogue Wave Views Studio Package API Reference Guide |
Rogue Wave Views Documentation Home |
Panel class. More...
#include <ivstudio/panel.h>
Public Member Functions | |
IlvStPanelHandler (IlvStudio *editor, const char *name, IlvGadgetContainer *cont=0) | |
Initializes an instance of IlvStPanelHandler . More... | |
virtual void | apply () |
Called when an apply of the panel is required. | |
virtual void | cancel () |
Called when a cancel of the panel is required. | |
virtual void | connect () |
Initializes the panel. More... | |
IlvGadgetContainer & | container () const |
Returns the gadget container which contains the graphic objects. More... | |
IlvStudio * | getEditor () const |
Returns the Rogue Wave Views Studio editor. More... | |
const char * | getName () const |
Returns the property name. More... | |
virtual void | hide () |
Hides a Rogue Wave Views Studio panel. More... | |
virtual void | reset () |
Called when a reset of the panel is required. | |
virtual void | show () |
Shows a Rogue Wave Views Studio panel. More... | |
Public Member Functions inherited from IlvStPropertySet | |
IlvStPropertySet (const IlSymbol *name) | |
Initializes an instance of IlvStPropertySet . More... | |
IlvStPropertySet (const char *name) | |
Initializes an instance of IlvStPropertySet . More... | |
virtual IlBoolean | getPropertyValue (const IlSymbol *name, IlvValue &value) |
Returns the value from a property. More... | |
virtual void | setName (const char *str) |
Sets the property name. More... | |
virtual IlBoolean | setPropertyValue (const IlSymbol *name, const IlvValue &value) |
Sets the value of one property. More... | |
Public Member Functions inherited from IlvStProperty | |
virtual const IlSymbol * | getNameSymbol () const |
Returns the property name. More... | |
virtual IlvValue & | getValue (IlvValue &value) const |
Returns the property value. More... | |
virtual void | setNameSymbol (const IlSymbol *str) |
Sets the property name. More... | |
virtual void | setValue (const IlvValue &value) |
Sets the property value. More... | |
Friends | |
class | IlvStudio |
Panel class.
Library: ivstudio
The Rogue Wave Views Studio interface is composed of several panels. Panels are instances of a subclass of IlvStPanelHandler
. This class is not a gadget container class, but rather a handle to the actual graphic panels that are instances of IlvGadgetContainer
. It allows you to keep the graphic aspect of the panel completely separate from its behavior within Rogue Wave Views Studio.
IlvStudio
, IlvStCommand
, IlvStShowPanel
. IlvStPanelHandler::IlvStPanelHandler | ( | IlvStudio * | editor, |
const char * | name, | ||
IlvGadgetContainer * | cont = 0 |
||
) |
Initializes an instance of IlvStPanelHandler
.
editor | The editor. |
name | The container name. |
cont | The gadget container which contains the graphic objects. |
|
virtual |
Initializes the panel.
This method is usually called after the panel has been created. It is meant to separate the constructor from initialization.
IlvGadgetContainer& IlvStPanelHandler::container | ( | ) | const |
Returns the gadget container which contains the graphic objects.
IlvStudio* IlvStPanelHandler::getEditor | ( | ) | const |
Returns the Rogue Wave Views Studio editor.
|
virtual |
|
virtual |
Hides a Rogue Wave Views Studio panel.
You must not directly hide the handled gadget container.
|
virtual |
Shows a Rogue Wave Views Studio panel.
You must not directly show the handled gadget container.
© 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.