Object Look-and-Feel class. More...
#include <ilviews/gadgets/hsheet.h>
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 IlvPalette * | getGridPalette (const IlvHierarchicalSheet *hsheet) const =0 |
Returns the palette used to draw the grid of the hierarchical sheet. More... | |
virtual IlvPalette * | getLinkPalette (const IlvHierarchicalSheet *hsheet) const =0 |
Returns the palette used to draw the links of the hierarchical sheet. More... | |
virtual IlvPalette * | getSelectedLinkPalette (const IlvHierarchicalSheet *hsheet) const =0 |
Returns the palette used to draw the selected links of the hierarchical sheet. More... | |
Object Look-and-Feel class.
Library: ilvadvgdt
The base class for the object look-and-feel handlers of the hierarchical sheet.
IlvHierarchicalSheetLFHandler::IlvHierarchicalSheetLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Initializes a new IlvHierarchicalSheetLFHandler
instance.
lfh | The look-and-feel handler which this handler will be associated to. |
|
pure virtual |
Returns the size and position of internal content of gadget item.
item | The gadget item. |
bbox | Overall bounding box of the gadget item, including margins. |
Implemented in IlvDefaultHierarchicalSheetLFHandler, and IlvHierarchicalSheetCSSLFHandler.
|
pure virtual |
Is called to draw the expand/collapse button of a hierarchical sheet item.
hsheet | The hierarchical sheet. |
dst | The destination port. |
item | The item being drawn. |
rect | The rectangle where to draw the button. |
clip | The clipping region. |
Implemented in IlvDefaultHierarchicalSheetLFHandler, and IlvHierarchicalSheetCSSLFHandler.
|
pure virtual |
Returns the size and position of the shrink/expand button of the specified gadget item of hierarchical sheet.
hsheet | The hierarchical sheet. |
item | The tree gadget item. |
bbox | Overall bounding box of the gadget item, including margins. |
Implemented in IlvDefaultHierarchicalSheetLFHandler, and IlvHierarchicalSheetCSSLFHandler.
|
pure virtual |
Returns the size and position of gadget item of hierarchical sheet.
hsheet | The hierarchical sheet. |
item | The gadget item. |
bbox | Overall bounding box of the gadget item, including margins. |
Implemented in IlvDefaultHierarchicalSheetLFHandler, and IlvHierarchicalSheetCSSLFHandler.
|
pure virtual |
Returns the palette used to draw the grid of the hierarchical sheet.
hsheet | The hierarchical sheet. |
Implemented in IlvHierarchicalSheetWLFHandler, IlvHierarchicalSheetW95LFHandler, IlvHierarchicalSheetVXLFHandler, IlvHierarchicalSheetMLFHandler, and IlvHierarchicalSheetCSSLFHandler.
|
pure virtual |
Returns the palette used to draw the links of the hierarchical sheet.
hsheet | The hierarchical sheet. |
Implemented in IlvHierarchicalSheetWLFHandler, IlvHierarchicalSheetW95LFHandler, IlvHierarchicalSheetVXLFHandler, IlvHierarchicalSheetMLFHandler, and IlvHierarchicalSheetCSSLFHandler.
|
pure virtual |
Returns the palette used to draw the selected links of the hierarchical sheet.
hsheet | The hierarchical sheet. |
Implemented in IlvHierarchicalSheetWLFHandler, IlvHierarchicalSheetMLFHandler, and IlvHierarchicalSheetCSSLFHandler.