Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvDefaultHierarchicalSheetLFHandler Class Reference

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

#include <ilviews/gadgets/hsheet.h>

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

Public Member Functions

virtual IlvRect contentBBox (const IlvGadgetItemMatrixItem *item, const IlvRect &bbox) const override
 Returns the size and position of internal content of gadget item. More...
 
virtual void drawButton (const IlvHierarchicalSheet *, IlvPort *, const IlvTreeGadgetItem *, const IlvRect &, const IlvRegion *) const override
 Is called to draw the expand/collapse button of a hierarchical sheet item. More...
 
virtual IlvRect getButtonRect (const IlvHierarchicalSheet *hsheet, const IlvGadgetItemMatrixItem *item, const IlvRect &bbox) const override
 Returns the size and position of the shrink/expand button of the specified gadget item of hierarchical sheet. More...
 
virtual IlvRect getGadgetItemBBox (const IlvHierarchicalSheet *hsheet, const IlvGadgetItemMatrixItem *item, const IlvRect &bbox) const override
 Returns the size and position of gadget item of hierarchical sheet. More...
 
- Public Member Functions inherited from IlvHierarchicalSheetLFHandler
 IlvHierarchicalSheetLFHandler (IlvLookFeelHandler *lfh)
 Constructor. 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 predefined object look-and-feel handlers of the hierarchical sheet are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.

Member Function Documentation

◆ contentBBox()

virtual IlvRect IlvDefaultHierarchicalSheetLFHandler::contentBBox ( const IlvGadgetItemMatrixItem item,
const IlvRect bbox 
) const
overridevirtual

Returns the size and position of internal content of gadget item.

Parameters
itemThe gadget item.
bboxOverall bounding box of the gadget item, including margins.
Returns
The content bounding box of the gadget (inside the padding areas).

Implements IlvHierarchicalSheetLFHandler.

Reimplemented in IlvHierarchicalSheetCSSLFHandler.

◆ drawButton()

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

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.

Implements IlvHierarchicalSheetLFHandler.

Reimplemented in IlvHierarchicalSheetCSSLFHandler.

◆ getButtonRect()

virtual IlvRect IlvDefaultHierarchicalSheetLFHandler::getButtonRect ( const IlvHierarchicalSheet hsheet,
const IlvGadgetItemMatrixItem item,
const IlvRect bbox 
) const
overridevirtual

Returns the size and position of the shrink/expand button of the specified gadget item of hierarchical sheet.

Parameters
hsheetThe hierarchical sheet.
itemThe tree gadget item.
bboxOverall bounding box of the gadget item, including margins.
Returns
The size and position of the shrink/expand button.

Implements IlvHierarchicalSheetLFHandler.

Reimplemented in IlvHierarchicalSheetCSSLFHandler.

◆ getGadgetItemBBox()

virtual IlvRect IlvDefaultHierarchicalSheetLFHandler::getGadgetItemBBox ( const IlvHierarchicalSheet hsheet,
const IlvGadgetItemMatrixItem item,
const IlvRect bbox 
) const
overridevirtual

Returns the size and position of gadget item of hierarchical sheet.

Parameters
hsheetThe hierarchical sheet.
itemThe gadget item.
bboxOverall bounding box of the gadget item, including margins.
Returns
The size and position of the gadget item.

Implements IlvHierarchicalSheetLFHandler.

Reimplemented in IlvHierarchicalSheetCSSLFHandler.