rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Studio Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvStPanelHandler Class Reference

Panel class. More...

#include <ivstudio/panel.h>

Inheritance diagram for IlvStPanelHandler:
IlvStPropertySet IlvStProperty IlvStDialog

List of all members.

Public Member Functions

 IlvStPanelHandler (IlvStudio *editor, const char *name, IlvGadgetContainer *cont=0)
 Initializes an instance of IlvStPanelHandler.
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.
IlvGadgetContainer & container () const
 Returns the gadget container which contains the graphic objects.
IlvStudiogetEditor () const
 Returns the Rogue Wave Views Studio editor.
const char * getName () const
 Returns the property name.
virtual void hide ()
 Hides an Rogue Wave Views Studio panel.
virtual void reset ()
 Called when a reset of the panel is required.
virtual void show ()
 Shows an Rogue Wave Views Studio panel.

Friends

class IlvStudio

Detailed Description

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.

See also:
IlvStudio,IlvStCommand,IlvStShowPanel.

Constructor & Destructor Documentation

IlvStPanelHandler::IlvStPanelHandler ( IlvStudio editor,
const char *  name,
IlvGadgetContainer *  cont = 0 
)

Initializes an instance of IlvStPanelHandler.

Parameters:
ed The editor.
name The container name.
cont The gadget container which contains the graphic objects.

Member Function Documentation

virtual void IlvStPanelHandler::connect (  )  [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.

Returns:
The gadget container which contains the graphic objects.
IlvStudio* IlvStPanelHandler::getEditor (  )  const

Returns the Rogue Wave Views Studio editor.

Returns:
The Rogue Wave Views Studio editor.
const char* IlvStPanelHandler::getName (  )  const [virtual]

Returns the property name.

Returns:
The property name.

Reimplemented from IlvStPropertySet.

virtual void IlvStPanelHandler::hide (  )  [virtual]

Hides an Rogue Wave Views Studio panel.

You must not directly hide the handled gadget container.

virtual void IlvStPanelHandler::show (  )  [virtual]

Shows an Rogue Wave Views Studio panel.

You must not directly show the handled gadget container.

 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.