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

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

#include <ilviews/gadgets/css/hsheet.h>

Inheritance diagram for IlvHierarchicalSheetCSSLFHandler:
IlvDefaultHierarchicalSheetLFHandler IlvHierarchicalSheetLFHandler IlvObjectLFHandler

Public Member Functions

 IlvHierarchicalSheetCSSLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
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...
 
IlvPalettegetGridPalette (const IlvHierarchicalSheet *obj) const
 Returns the palette used to draw the grid of the hierarchical sheet. More...
 
IlvPalettegetLinkPalette (const IlvHierarchicalSheet *obj) const
 Returns the palette used to draw the links of the hierarchical sheet. More...
 
IlvPalettegetSelectedLinkPalette (const IlvHierarchicalSheet *obj) const
 Returns the palette used to draw the selected links of the hierarchical sheet. More...
 
- Public Member Functions inherited from IlvHierarchicalSheetLFHandler
 IlvHierarchicalSheetLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvacsslook

The class for the motif object look-and-feel handler of the hierarchical sheet.

Constructor & Destructor Documentation

◆ IlvHierarchicalSheetCSSLFHandler()

IlvHierarchicalSheetCSSLFHandler::IlvHierarchicalSheetCSSLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvHierarchicalSheetCSSLFHandler instance and initializes it with lfh.

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

Member Function Documentation

◆ contentBBox()

virtual IlvRect IlvHierarchicalSheetCSSLFHandler::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).

Reimplemented from IlvDefaultHierarchicalSheetLFHandler.

◆ drawButton()

virtual void IlvHierarchicalSheetCSSLFHandler::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.

Reimplemented from IlvDefaultHierarchicalSheetLFHandler.

◆ getButtonRect()

virtual IlvRect IlvHierarchicalSheetCSSLFHandler::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.

Reimplemented from IlvDefaultHierarchicalSheetLFHandler.

◆ getGadgetItemBBox()

virtual IlvRect IlvHierarchicalSheetCSSLFHandler::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.

Reimplemented from IlvDefaultHierarchicalSheetLFHandler.

◆ getGridPalette()

IlvPalette* IlvHierarchicalSheetCSSLFHandler::getGridPalette ( const IlvHierarchicalSheet hsheet) const
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.

Implements IlvHierarchicalSheetLFHandler.

◆ getLinkPalette()

IlvPalette* IlvHierarchicalSheetCSSLFHandler::getLinkPalette ( const IlvHierarchicalSheet hsheet) const
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.

Implements IlvHierarchicalSheetLFHandler.

◆ getSelectedLinkPalette()

IlvPalette* IlvHierarchicalSheetCSSLFHandler::getSelectedLinkPalette ( const IlvHierarchicalSheet hsheet) const
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.

Implements IlvHierarchicalSheetLFHandler.