Object look-and-feel class. More...
#include <ilviews/gadgets/tree.h>
Public Member Functions | |
virtual void | drawBackground (const IlvTreeGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the background of a tree gadget. More... | |
virtual void | drawButton (const IlvTreeGadget *, IlvPort *dst, const IlvTreeGadgetItem *item, const IlvRect &bbox, const IlvRegion *clip) const |
Is called to draw the expand/collapse button of a tree gadget item. More... | |
virtual void | drawFrame (const IlvTreeGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the frame of a tree gadget. More... | |
virtual void | drawGadgetContents (const IlvTreeGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the contents of a tree gadget. More... | |
virtual void | drawGadgetItem (const IlvTreeGadget *, const IlvTreeGadgetItem *, IlvPort *port, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const |
Is called to draw a tree gadget item. More... | |
virtual const IlvPalette * | getWindowBackground (const IlvTreeGadget *) const |
Returns the palette used to draw the background of the tree gadget. More... | |
virtual IlBoolean | handleGadgetEvent (IlvTreeGadget *, IlvEvent &event) const |
Is called to handle the events of a tree gadget. More... | |
virtual void | invalidateItem (IlvTreeGadget *tree, IlvGadgetItem *item, const IlvGadgetItemGeometry &previousSize, const IlvGadgetItemGeometry ¤tSize) const |
is called per GadgetItem in the tree to calculate and invalidate area for the next redraw. More... | |
Public Member Functions inherited from IlvTreeGadgetLFHandler | |
IlvTreeGadgetLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual IlvPalette * | getLinkPalette (const IlvTreeGadget *tree) const =0 |
Returns the palette used to draw the links of the tree gadget. More... | |
Object look-and-feel class.
Library: ilvadvgdt
The predefined object look-and-feel handlers of the tree gadget are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.
|
virtual |
Is called to draw the background of a tree gadget.
tree | The tree gadget. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvTreeGadgetLFHandler.
|
virtual |
Is called to draw the expand/collapse button of a tree gadget item.
tree | The tree gadget. |
dst | The destination port. |
item | The tree gadget item being drawn. |
bbox | The rectangle where to draw the button. |
clip | The clipping region. |
Implements IlvTreeGadgetLFHandler.
Reimplemented in IlvTreeGadgetCSSLFHandler.
|
virtual |
Is called to draw the frame of a tree gadget.
tree | The tree gadget. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvTreeGadgetLFHandler.
|
virtual |
Is called to draw the contents of a tree gadget.
tree | The tree gadget. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvTreeGadgetLFHandler.
|
virtual |
Is called to draw a tree gadget item.
tree | The tree gadget. |
item | The tree gadget item to draw. |
dst | The destination port. |
bbox | The rectangle where to draw the item. |
t | The transformer. Not Used. |
clip | The clipping region. |
Implements IlvTreeGadgetLFHandler.
Reimplemented in IlvTreeGadgetCSSLFHandler.
|
virtual |
Returns the palette used to draw the background of the tree gadget.
tree | The tree gadget. |
Implements IlvTreeGadgetLFHandler.
|
virtual |
Is called to handle the events of a tree gadget.
tree | The tree gadget. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implements IlvTreeGadgetLFHandler.
|
virtual |
is called per GadgetItem in the tree to calculate and invalidate area for the next redraw.
item | The item in the tree gadget. |
previousSize | the previous size of the GadgetItem. |
currentSize | the current size of the GadgetItem. |
Implements IlvTreeGadgetLFHandler.
Reimplemented in IlvTreeGadgetCSSLFHandler.