rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvAbstractBarPane Class Reference

Docking Pane class. More...

#include <ilviews/gadgets/dockpane.h>

Inheritance diagram for IlvAbstractBarPane:
IlvGraphicPane IlvPane

List of all members.

Public Member Functions

 IlvAbstractBarPane (const char *name, IlvAbstractBar *bar)
 Constructor.
virtual void geometryChanged ()
 Called when the geometry of the encapsulated bar has changed.
IlvAbstractBargetBar () const
 Returns the IlvAbstractBar object managed by this pane.
virtual void moveResize (const IlvRect &)
 Moves and resizes the pane.
virtual void orientationChanged ()
 Called when the orientation of the encapsulated bar has changed.
virtual void setContainer (IlvPanedContainer *)
 Is called when the container of the pane changes.

Detailed Description

Docking Pane class.

Library: ilvadvgdt

An IlvAbstractBarPane object is a special graphic pane that handles IlvAbstractBar objects, such as IlvMenuBar or IlvToolBar objects. It computes the orientation of the managed bar using its geometry: if the bar width is greater than its height, the bar is horizontal. Otherwise it is vertical.

See also:
IlvAbstractBar, IlvDockableContainer.

Constructor & Destructor Documentation

IlvAbstractBarPane::IlvAbstractBarPane ( const char *  name,
IlvAbstractBar bar 
)

Constructor.

Creates a new pane using the provided name and bar parameters.

Parameters:
name The name of the pane.
bar A pointer to the IlvAbstractBar object managed by this pane.

Member Function Documentation

virtual void IlvAbstractBarPane::geometryChanged (  )  [virtual]

Called when the geometry of the encapsulated bar has changed.

See also:
IlvAbstractBar::geometryChanged
IlvAbstractBar* IlvAbstractBarPane::getBar (  )  const

Returns the IlvAbstractBar object managed by this pane.

Returns:
The IlvAbstractBar object managed by this pane.
virtual void IlvAbstractBarPane::moveResize ( const IlvRect rect  )  [virtual]

Moves and resizes the pane.

Parameters:
rect The new size and position of the pane.
See also:
boundingBox.

Reimplemented from IlvGraphicPane.

virtual void IlvAbstractBarPane::orientationChanged (  )  [virtual]

Called when the orientation of the encapsulated bar has changed.

See also:
geometryChanged
virtual void IlvAbstractBarPane::setContainer ( IlvPanedContainer container  )  [virtual]

Is called when the container of the pane changes.

Parameters:
container The new pane container.
See also:
IlvPanedContainer::addPane, IlvPanedContainer::removePane.

Reimplemented from IlvGraphicPane.

 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.