rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvViewFrameLFHandler Class Referenceabstract

Object Look-and-Feel class. More...

#include <ilviews/gadgets/vframe.h>

Inheritance diagram for IlvViewFrameLFHandler:
IlvObjectLFHandler IlvDefaultViewFrameLFHandler

Public Member Functions

 IlvViewFrameLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawCaption (const IlvViewFrame *vframe, const IlvMessageLabel *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 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 =0
 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 =0
 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 =0
 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 =0
 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 =0
 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 =0
 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 =0
 Is called to draw the title of a view frame. More...
 
virtual IlvDim getBorderSize (IlBoolean minimized) const =0
 Returns the size of the border of a view frame. More...
 
virtual IlvDim getTitleBarHeight (IlBoolean minimized) const =0
 Returns the height of the title bar of a view frame. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvadvgdt

The base class for the object look-and-feel handlers of the view frame objects.

Constructor & Destructor Documentation

IlvViewFrameLFHandler::IlvViewFrameLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvViewFrameLFHandler instance and initializes it with lfh.

Parameters
lfhThe look-and-feel handler which this handler will be associated with.

Member Function Documentation

virtual void IlvViewFrameLFHandler::drawCaption ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual void IlvViewFrameLFHandler::drawCloseButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual void IlvViewFrameLFHandler::drawFrame ( const IlvViewFrame vframe,
const IlvGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual void IlvViewFrameLFHandler::drawIcon ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual void IlvViewFrameLFHandler::drawMaximizeButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual void IlvViewFrameLFHandler::drawMinimizeButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual void IlvViewFrameLFHandler::drawRestoreButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual void IlvViewFrameLFHandler::drawTitle ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual IlvDim IlvViewFrameLFHandler::getBorderSize ( IlBoolean  minimized) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

virtual IlvDim IlvViewFrameLFHandler::getTitleBarHeight ( IlBoolean  minimized) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.


© 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.