Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvHierarchicalSheetLFHandler Class Referenceabstract

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

#include <ilviews/gadgets/hsheet.h>

Inheritance diagram for IlvHierarchicalSheetLFHandler:
IlvObjectLFHandler IlvDefaultHierarchicalSheetLFHandler IlvHierarchicalSheetCSSLFHandler IlvHierarchicalSheetMLFHandler IlvHierarchicalSheetWLFHandler IlvHierarchicalSheetVXLFHandler IlvHierarchicalSheetW95LFHandler

Public Member Functions

 IlvHierarchicalSheetLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawButton (const IlvHierarchicalSheet *hsheet, IlvPort *dst, const IlvTreeGadgetItem *item, const IlvRect &rect, const IlvRegion *clip) const =0
 Is called to draw the expand/collapse button of a hierarchical sheet item. More...
 
virtual IlvPalettegetGridPalette (const IlvHierarchicalSheet *hsheet) const =0
 Returns the palette used to draw the grid of the hierarchical sheet. More...
 
virtual IlvPalettegetLinkPalette (const IlvHierarchicalSheet *hsheet) const =0
 Returns the palette used to draw the links of the hierarchical sheet. More...
 
virtual IlvPalettegetSelectedLinkPalette (const IlvHierarchicalSheet *hsheet) const =0
 Returns the palette used to draw the selected links of the hierarchical sheet. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvadvgdt

The base class for the object look-and-feel handlers of the hierarchical sheet.

Constructor & Destructor Documentation

§ IlvHierarchicalSheetLFHandler()

IlvHierarchicalSheetLFHandler::IlvHierarchicalSheetLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Initializes a new IlvHierarchicalSheetLFHandler instance.

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

Member Function Documentation

§ drawButton()

virtual void IlvHierarchicalSheetLFHandler::drawButton ( const IlvHierarchicalSheet hsheet,
IlvPort dst,
const IlvTreeGadgetItem item,
const IlvRect rect,
const IlvRegion clip 
) const
pure virtual

Is called to draw the expand/collapse button of a hierarchical sheet item.

Parameters
hsheetThe hierarchical sheet.
dstThe destination port.
itemThe item being drawn.
rectThe rectangle where to draw the button.
clipThe clipping region.

Implemented in IlvDefaultHierarchicalSheetLFHandler.

§ getGridPalette()

virtual IlvPalette* IlvHierarchicalSheetLFHandler::getGridPalette ( const IlvHierarchicalSheet hsheet) const
pure virtual

Returns the palette used to draw the grid of the hierarchical sheet.

Parameters
hsheetThe hierarchical sheet.
Returns
The palette used to draw the grid of the hierarchical sheet.

Implemented in IlvHierarchicalSheetWLFHandler, IlvHierarchicalSheetVXLFHandler, IlvHierarchicalSheetW95LFHandler, IlvHierarchicalSheetCSSLFHandler, and IlvHierarchicalSheetMLFHandler.

§ getLinkPalette()

virtual IlvPalette* IlvHierarchicalSheetLFHandler::getLinkPalette ( const IlvHierarchicalSheet hsheet) const
pure virtual

Returns the palette used to draw the links of the hierarchical sheet.

Parameters
hsheetThe hierarchical sheet.
Returns
The palette used to draw the links of the hierarchical sheet.

Implemented in IlvHierarchicalSheetVXLFHandler, IlvHierarchicalSheetW95LFHandler, IlvHierarchicalSheetWLFHandler, IlvHierarchicalSheetCSSLFHandler, and IlvHierarchicalSheetMLFHandler.

§ getSelectedLinkPalette()

virtual IlvPalette* IlvHierarchicalSheetLFHandler::getSelectedLinkPalette ( const IlvHierarchicalSheet hsheet) const
pure virtual

Returns the palette used to draw the selected links of the hierarchical sheet.

Parameters
hsheetThe hierarchical sheet.
Returns
The palette used to draw the selected links of the hierarchical sheet.

Implemented in IlvHierarchicalSheetWLFHandler, IlvHierarchicalSheetCSSLFHandler, and IlvHierarchicalSheetMLFHandler.


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