Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvAbstractViewLFHandler Class Referenceabstract

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

#include <ilviews/base/view/IlvAbstractView.h>

Inheritance diagram for IlvAbstractViewLFHandler:
IlvObjectLFHandler IlvDefaultAbstractViewLFHandler

Public Member Functions

 IlvAbstractViewLFHandler (IlvLookFeelHandler *lfh)
 Creates a new IlvAbstractViewLFHandler instance. More...
 
virtual bool drawBackground (const IlvAbstractView *view, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip, IlvPoint bgOriginOffset=IlvPoint(0, 0)) const =0
 Draws the background of a IlvAbstractView. More...
 
virtual IlvColorgetBackgroundColor (const IlvAbstractView *) const =0
 Returns the color used to draw the background of a IlvAbstractView. More...
 
virtual IlBoolean resizingInvalidatesBackground (const IlvAbstractView *) const =0
 Indicates whether the entire background should be redrawn after the view is resized. More...
 
- Public Member Functions inherited from IlvObjectLFHandler
 IlvObjectLFHandler (IlvClassInfo *classInfo, IlvLookFeelHandler *lf)
 Initializes a new instance of the IlvObjectLFHandler class. More...
 
IlvDisplaygetDisplay () const
 Retrieves the IlvDisplay instance associated with this handler. More...
 
IlvLookFeelHandlergetLookFeelHandler () const
 Retrieves the IlvLookFeelHandler instance associated with this handler. More...
 

Detailed Description

Object Look-and-Feel class.

Library: <display>views

The base class for the object look-and-feel handlers of the abstract view objects.

Constructor & Destructor Documentation

◆ IlvAbstractViewLFHandler()

IlvAbstractViewLFHandler::IlvAbstractViewLFHandler ( IlvLookFeelHandler lfh)

Creates a new IlvAbstractViewLFHandler instance.

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

Member Function Documentation

◆ drawBackground()

virtual bool IlvAbstractViewLFHandler::drawBackground ( const IlvAbstractView view,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip,
IlvPoint  bgOriginOffset = IlvPoint(0, 0) 
) const
pure virtual

Draws the background of a IlvAbstractView.

Parameters
viewThe IlvAbstractView.
dstThe destination port.
tThe transformer.
clipThe clipping region.
Returns
true if something was drawn in the destination buffer, false otherwise.

Implemented in IlvDefaultAbstractViewLFHandler.

◆ getBackgroundColor()

virtual IlvColor* IlvAbstractViewLFHandler::getBackgroundColor ( const IlvAbstractView ) const
pure virtual

Returns the color used to draw the background of a IlvAbstractView.

Returns
The color used to draw the background of a IlvAbstractView.

Implemented in IlvDefaultAbstractViewLFHandler.

◆ resizingInvalidatesBackground()

virtual IlBoolean IlvAbstractViewLFHandler::resizingInvalidatesBackground ( const IlvAbstractView ) const
pure virtual

Indicates whether the entire background should be redrawn after the view is resized.

Returns
Returns IlTrue if whole background should be redrawn after the view is resized.

Implemented in IlvDefaultAbstractViewLFHandler.