rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvTreeGadgetLFHandler Class Reference

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

#include <ilviews/gadgets/tree.h>

Inheritance diagram for IlvTreeGadgetLFHandler:
IlvObjectLFHandler IlvDefaultTreeGadgetLFHandler IlvTreeGadgetMLFHandler IlvTreeGadgetWLFHandler IlvTreeGadgetVXLFHandler IlvTreeGadgetW95LFHandler

List of all members.

Public Member Functions

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

Detailed Description

Object Look-and-Feel class.

Library: ilvadvgdt

The base class for the object look-and-feel handlers of the tree gadget.


Constructor & Destructor Documentation

IlvTreeGadgetLFHandler::IlvTreeGadgetLFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvTreeGadgetLFHandler instance and initializes it with lfh.

Parameters:
lfh The look-and-feel handler which this handler will be associated to.

Member Function Documentation

virtual void IlvTreeGadgetLFHandler::drawBackground ( const IlvTreeGadget tree,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the background of a tree gadget.

Parameters:
tree The tree gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implemented in IlvDefaultTreeGadgetLFHandler.

virtual void IlvTreeGadgetLFHandler::drawButton ( const IlvTreeGadget ,
IlvPort dst,
const IlvTreeGadgetItem item,
const IlvRect bbox,
const IlvRegion clip 
) const [pure virtual]

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

Parameters:
tree The tree gadget.
dst The destination port.
item The tree gadget item being drawn.
bbox The rectangle where to draw the button.
clip The clipping region.

Implemented in IlvDefaultTreeGadgetLFHandler.

virtual void IlvTreeGadgetLFHandler::drawFrame ( const IlvTreeGadget tree,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the frame of a tree gadget.

Parameters:
tree The tree gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implemented in IlvDefaultTreeGadgetLFHandler.

virtual void IlvTreeGadgetLFHandler::drawGadgetContents ( const IlvTreeGadget tree,
IlvPort port,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the contents of a tree gadget.

Parameters:
tree The tree gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implemented in IlvDefaultTreeGadgetLFHandler.

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

Is called to draw a tree gadget item.

Parameters:
tree The tree gadget.
item The tree gadget item to draw.
dst The destination port.
bbox The rectangle where to draw the item.
t The transformer. Not Used.
clip The clipping region.

Implemented in IlvDefaultTreeGadgetLFHandler.

virtual IlvPalette* IlvTreeGadgetLFHandler::getLinkPalette ( const IlvTreeGadget tree  )  const [pure virtual]

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

Parameters:
tree The tree gadget.
Returns:
The palette used to draw the links of the tree gadget.

Implemented in IlvTreeGadgetMLFHandler, IlvTreeGadgetVXLFHandler, IlvTreeGadgetW95LFHandler, and IlvTreeGadgetWLFHandler.

virtual IlvPalette* IlvTreeGadgetLFHandler::getWindowBackground ( const IlvTreeGadget tree  )  const [pure virtual]

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

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

Implemented in IlvDefaultTreeGadgetLFHandler.

virtual IlBoolean IlvTreeGadgetLFHandler::handleGadgetEvent ( IlvTreeGadget tree,
IlvEvent event 
) const [pure virtual]

Is called to handle the events of a tree gadget.

Parameters:
tree The tree gadget.
event The event to handle.
Returns:
IlTrue if the event has been consumed.

Implemented in IlvDefaultTreeGadgetLFHandler.

 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.