rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions | Friends
IlvPaneListener Class Reference

Pane Listener class. More...

#include <ilviews/gadgets/panecont.h>

Public Member Functions

 IlvPaneListener ()
 Constructor. More...
 
IlvPanegetPane () const
 Returns the pane listened to. More...
 
virtual void paneContainerChanged (IlvPanedContainer *container)
 Is called each time the container of the pane changes. More...
 
virtual void paneGeometryChanged ()
 Is called each time the pane geometry changes. More...
 
virtual void paneMinimumSizeChanged (IlvDirection direction, IlvDim size)
 Is called each time the minimum size of the pane changes. More...
 
virtual void paneNameChanged (const char *name)
 Is called each time the name of the pane changes. More...
 
virtual void paneResizeModeChanged (IlvDirection direction, int mode)
 Is called each time the resize mode of the pane changes. More...
 
virtual void paneVisibilityChanged ()
 Is called each time the visibility of the pane changes. More...
 

Friends

class IlvPane
 

Detailed Description

Pane Listener class.

Library: ilvadvgdt

The class IlvPaneListener is a class that defines a listener for the IlvPane class. Each instance of the IlvPane class maintains a list of pane listeners and notify them each time a specific modification is performed on the pane. A pane listener is linked to a specific instance of the IlvPane class and therefore cannot be shared.

See Also
IlvPane.

Constructor & Destructor Documentation

IlvPaneListener::IlvPaneListener ( )

Constructor.

Initializes a new instance of the IlvPaneListener class.

Member Function Documentation

IlvPane* IlvPaneListener::getPane ( ) const

Returns the pane listened to.

Returns
The pane listened to. If the pane listener has not been added to a pane using IlvPane::addListener, this method returns 0.
virtual void IlvPaneListener::paneContainerChanged ( IlvPanedContainer container)
virtual

Is called each time the container of the pane changes.

You may override this method in a subclass of IlvPaneListener.

Parameters
constThe previous container of the pane.
See Also
IlvPane::setContainer
virtual void IlvPaneListener::paneGeometryChanged ( )
virtual

Is called each time the pane geometry changes.

You may override this method in a subclass of IlvPaneListener.

See Also
IlvPane::moveResize
virtual void IlvPaneListener::paneMinimumSizeChanged ( IlvDirection  direction,
IlvDim  size 
)
virtual

Is called each time the minimum size of the pane changes.

Parameters
directionThe direction for which the minimum size changes.
sizeThe previous minimum size of the pane for the direction direction.
See Also
IlvPane::setMinimumSize
virtual void IlvPaneListener::paneNameChanged ( const char *  name)
virtual

Is called each time the name of the pane changes.

You may override this method in a subclass of IlvPaneListener.

Parameters
nameThe previous name of the pane.
See Also
IlvPane::setName
virtual void IlvPaneListener::paneResizeModeChanged ( IlvDirection  direction,
int  mode 
)
virtual

Is called each time the resize mode of the pane changes.

You may override this method in a subclass of IlvPaneListener.

Parameters
directionThe direction for which the resize mode changes.
modeThe previous resize mode of the pane for the direction direction.
See Also
IlvPane::setResizeMode, ResizeMode
virtual void IlvPaneListener::paneVisibilityChanged ( )
virtual

Is called each time the visibility of the pane changes.

You may override this method in a subclass of IlvPaneListener.

See Also
IlvPane::show, IlvPane::hide

© Copyright 2014, 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.