Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvDefaultViewFrameLFHandler Class Reference

Object look-and-feel class. More...

#include <ilviews/gadgets/vframe.h>

Inheritance diagram for IlvDefaultViewFrameLFHandler:
IlvViewFrameLFHandler IlvObjectLFHandler

Public Member Functions

virtual void drawCaption (const IlvViewFrame *vframe, const IlvMessageLabel *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the caption of a view frame. More...
 
virtual void drawCloseButton (const IlvViewFrame *vframe, const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the close button of a view frame. More...
 
virtual void drawFrame (const IlvViewFrame *vframe, const IlvGadget *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the border of a view frame. More...
 
virtual void drawIcon (const IlvViewFrame *vframe, const IlvMessageLabel *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the icon of a view frame. More...
 
virtual void drawMaximizeButton (const IlvViewFrame *vframe, const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the maximize button of a view frame. More...
 
virtual void drawMinimizeButton (const IlvViewFrame *vframe, const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the minimize button of a view frame. More...
 
virtual void drawRestoreButton (const IlvViewFrame *vframe, const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the restore button of a view frame. More...
 
virtual void drawTitle (const IlvViewFrame *vframe, const IlvMessageLabel *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the title of a view frame. More...
 
virtual IlvDim getBorderSize (IlBoolean) const
 Returns the size of the border of a view frame. More...
 
virtual IlvDim getTitleBarHeight (IlBoolean) const
 Returns the height of the title bar of a view frame. More...
 
- Public Member Functions inherited from IlvViewFrameLFHandler
 IlvViewFrameLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

The predefined object look-and-feel handlers of view frame objects are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.

Member Function Documentation

virtual void IlvDefaultViewFrameLFHandler::drawCaption ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the caption of a view frame.

Parameters
vframeThe view frame.
gadgetThe gadget being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

virtual void IlvDefaultViewFrameLFHandler::drawCloseButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the close button of a view frame.

Parameters
vframeThe view frame.
buttonThe button being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

virtual void IlvDefaultViewFrameLFHandler::drawFrame ( const IlvViewFrame vframe,
const IlvGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the border of a view frame.

Parameters
vframeThe view frame.
gadgetThe gadget being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

virtual void IlvDefaultViewFrameLFHandler::drawIcon ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the icon of a view frame.

Parameters
vframeThe view frame.
gadgetThe gadget being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

virtual void IlvDefaultViewFrameLFHandler::drawMaximizeButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the maximize button of a view frame.

Parameters
vframeThe view frame.
buttonThe button being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

virtual void IlvDefaultViewFrameLFHandler::drawMinimizeButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the minimize button of a view frame.

Parameters
vframeThe view frame.
buttonThe button being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

virtual void IlvDefaultViewFrameLFHandler::drawRestoreButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the restore button of a view frame.

Parameters
vframeThe view frame.
buttonThe button being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

virtual void IlvDefaultViewFrameLFHandler::drawTitle ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the title of a view frame.

Parameters
vframeThe view frame.
gadgetThe gadget being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

virtual IlvDim IlvDefaultViewFrameLFHandler::getBorderSize ( IlBoolean  minimized) const
virtual

Returns the size of the border of a view frame.

Parameters
minimizedA Boolean value indicating whether the requested size concerns minimized view frames or not.
Returns
The size of the border of a view frame.

Implements IlvViewFrameLFHandler.

virtual IlvDim IlvDefaultViewFrameLFHandler::getTitleBarHeight ( IlBoolean  minimized) const
virtual

Returns the height of the title bar of a view frame.

Parameters
minimizedA Boolean value indicating whether the requested size concerns minimized view frames or not.
Returns
The height of a title bar of a view frame.

Implements IlvViewFrameLFHandler.


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