rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvDefaultTreeGadgetLFHandler Class Reference

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

#include <ilviews/gadgets/tree.h>

Inheritance diagram for IlvDefaultTreeGadgetLFHandler:
IlvTreeGadgetLFHandler IlvObjectLFHandler IlvTreeGadgetMLFHandler IlvTreeGadgetWLFHandler IlvTreeGadgetVXLFHandler IlvTreeGadgetW95LFHandler

Public Member Functions

virtual void drawBackground (const IlvTreeGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a tree gadget. More...
 
virtual void drawButton (const IlvTreeGadget *, IlvPort *dst, const IlvTreeGadgetItem *item, const IlvRect &bbox, const IlvRegion *clip) const
 Is called to draw the expand/collapse button of a tree gadget item. More...
 
virtual void drawFrame (const IlvTreeGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a tree gadget. More...
 
virtual void drawGadgetContents (const IlvTreeGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a tree gadget. More...
 
virtual void drawGadgetItem (const IlvTreeGadget *, const IlvTreeGadgetItem *, IlvPort *port, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw a tree gadget item. More...
 
virtual IlvPalettegetWindowBackground (const IlvTreeGadget *) const
 Returns the palette used to draw the background of the tree gadget. More...
 
virtual IlBoolean handleGadgetEvent (IlvTreeGadget *, IlvEvent &event) const
 Is called to handle the events of a tree gadget. More...
 
- Public Member Functions inherited from IlvTreeGadgetLFHandler
 IlvTreeGadgetLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual IlvPalettegetLinkPalette (const IlvTreeGadget *tree) const =0
 Returns the palette used to draw the links of the tree gadget. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

The predefined object look-and-feel handlers of the tree gadget 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 IlvDefaultTreeGadgetLFHandler::drawBackground ( const IlvTreeGadget tree,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a tree gadget.

Parameters
treeThe tree gadget.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTreeGadgetLFHandler.

virtual void IlvDefaultTreeGadgetLFHandler::drawButton ( const IlvTreeGadget ,
IlvPort dst,
const IlvTreeGadgetItem item,
const IlvRect bbox,
const IlvRegion clip 
) const
virtual

Is called to draw the expand/collapse button of a tree gadget item.

Parameters
treeThe tree gadget.
dstThe destination port.
itemThe tree gadget item being drawn.
bboxThe rectangle where to draw the button.
clipThe clipping region.

Implements IlvTreeGadgetLFHandler.

virtual void IlvDefaultTreeGadgetLFHandler::drawFrame ( const IlvTreeGadget tree,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a tree gadget.

Parameters
treeThe tree gadget.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTreeGadgetLFHandler.

virtual void IlvDefaultTreeGadgetLFHandler::drawGadgetContents ( const IlvTreeGadget tree,
IlvPort port,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a tree gadget.

Parameters
treeThe tree gadget.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTreeGadgetLFHandler.

virtual void IlvDefaultTreeGadgetLFHandler::drawGadgetItem ( const IlvTreeGadget tree,
const IlvTreeGadgetItem item,
IlvPort dst,
const IlvRect bbox,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw a tree gadget item.

Parameters
treeThe tree gadget.
itemThe tree gadget item to draw.
dstThe destination port.
bboxThe rectangle where to draw the item.
tThe transformer. Not Used.
clipThe clipping region.

Implements IlvTreeGadgetLFHandler.

virtual IlvPalette* IlvDefaultTreeGadgetLFHandler::getWindowBackground ( const IlvTreeGadget tree) const
virtual

Returns the palette used to draw the background of the tree gadget.

Parameters
treeThe tree gadget.
Returns
The palette used to draw the background of the tree gadget.

Implements IlvTreeGadgetLFHandler.

virtual IlBoolean IlvDefaultTreeGadgetLFHandler::handleGadgetEvent ( IlvTreeGadget tree,
IlvEvent event 
) const
virtual

Is called to handle the events of a tree gadget.

Parameters
treeThe tree gadget.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvTreeGadgetLFHandler.


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