Views
Gadgets Package API Reference Guide
Product Documentation:
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 IlvRect contentBBox (const IlvGadgetItemMatrixItem *item, const IlvRect &bbox) const =0
 Returns the size and position of internal content of gadget item. 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 IlvRect getButtonRect (const IlvHierarchicalSheet *hsheet, const IlvGadgetItemMatrixItem *item, const IlvRect &bbox) const =0
 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 =0
 Returns the size and position of gadget item of hierarchical sheet. 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

◆ contentBBox()

virtual IlvRect IlvHierarchicalSheetLFHandler::contentBBox ( const IlvGadgetItemMatrixItem item,
const IlvRect bbox 
) const
pure virtual

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

Implemented in IlvDefaultHierarchicalSheetLFHandler, and IlvHierarchicalSheetCSSLFHandler.

◆ 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, and IlvHierarchicalSheetCSSLFHandler.

◆ getButtonRect()

virtual IlvRect IlvHierarchicalSheetLFHandler::getButtonRect ( const IlvHierarchicalSheet hsheet,
const IlvGadgetItemMatrixItem item,
const IlvRect bbox 
) const
pure virtual

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.

Implemented in IlvDefaultHierarchicalSheetLFHandler, and IlvHierarchicalSheetCSSLFHandler.

◆ getGadgetItemBBox()

virtual IlvRect IlvHierarchicalSheetLFHandler::getGadgetItemBBox ( const IlvHierarchicalSheet hsheet,
const IlvGadgetItemMatrixItem item,
const IlvRect bbox 
) const
pure virtual

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.

Implemented in IlvDefaultHierarchicalSheetLFHandler, and IlvHierarchicalSheetCSSLFHandler.

◆ 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, IlvHierarchicalSheetW95LFHandler, IlvHierarchicalSheetVXLFHandler, IlvHierarchicalSheetMLFHandler, and IlvHierarchicalSheetCSSLFHandler.

◆ 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 IlvHierarchicalSheetWLFHandler, IlvHierarchicalSheetW95LFHandler, IlvHierarchicalSheetVXLFHandler, IlvHierarchicalSheetMLFHandler, and IlvHierarchicalSheetCSSLFHandler.

◆ 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, IlvHierarchicalSheetMLFHandler, and IlvHierarchicalSheetCSSLFHandler.