Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Pane class. More...
#include <ilviews/gadgets/panecont.h>
Public Member Functions | |
IlvViewPane (const char *name, IlvView *view, IlBoolean owner=IlTrue) | |
Constructor. | |
virtual void | boundingBox (IlvRect &) const |
Returns the size and position of the pane. | |
IlvView * | getView () const |
Returns the view object that the pane encapsulates. | |
virtual void | moveResize (const IlvRect &) |
Moves and resizes the pane. | |
virtual void | setContainer (IlvPanedContainer *cont) |
Is called when the container of the pane changes. | |
virtual void | setFocus (IlvEvent *event=0) |
Gives the focus to the pane. | |
void | setView (IlvView *view, IlBoolean owner=IlTrue) |
Sets the view object that the pane encapsulates. | |
Static Public Member Functions | |
static IlvViewPane * | Get (const IlvView *view) |
Returns the view pane connected to the specified view. |
Pane class.
Library: ilvadvgdt
An IlvViewPane
object is a pane that encapsulates an IlvView
object.
Constructor.
Initializes a new instance of the IlvViewPane
class.
name | The name of the pane. | |
view | The encapsulated view. | |
owner | A Boolean value specifying whether the pane is the owner of view. If owner is set to IlTrue or is omitted, deleting the view pane will cause the associated view to be deleted as well. |
virtual void IlvViewPane::boundingBox | ( | IlvRect & | rect | ) | const [virtual] |
Returns the size and position of the pane.
Puts in rect the size and position of the pane.
rect | The returned size and position of the pane. |
moveResize
. Implements IlvPane.
static IlvViewPane* IlvViewPane::Get | ( | const IlvView * | view | ) | [static] |
Returns the view pane connected to the specified view.
view | The View. |
0
if no view pane is connected with view. IlvView* IlvViewPane::getView | ( | ) | const |
Returns the view object that the pane encapsulates.
0
if no view has been attached to the pane. virtual void IlvViewPane::moveResize | ( | const IlvRect & | rect | ) | [virtual] |
Moves and resizes the pane.
rect | The new size and position of the pane. |
boundingBox
. Reimplemented from IlvPane.
virtual void IlvViewPane::setContainer | ( | IlvPanedContainer * | container | ) | [virtual] |
Is called when the container of the pane changes.
container | The new pane container. |
Reimplemented from IlvPane.
virtual void IlvViewPane::setFocus | ( | IlvEvent * | event = 0 |
) | [virtual] |
Gives the focus to the pane.
event | A pointer to the event that triggered the call to this method. |
Implements IlvPane.
Sets the view object that the pane encapsulates.
view | The new view object. | |
owner | A Boolean value specifying whether the pane is the owner of view. If owner is IlTrue or is omitted, deleting the view pane will cause the associated view to be deleted as well. |
© 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.