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

Object look and feel base class. More...

#include <ilviews/base/look.h>

Inherited by IlvGadgetLFHandler, and IlvReliefLineLFHandler.

Public Member Functions

 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 base class.

Library: xviews or winviews or mviews (mutually exclusive)

IlvObjectLFHandler is the base class for object look and feel handlers. An object look and feel handler is responsible for drawing and controlling a specific gadget. Each gadget defines its own subclass of IlvObjectLFHandler, thus providing an interface through which the gadget can be customized.

To obtain an object look and feel handler for a specific gadget class, use the IlvLookFeelHandler::getObjectLFHandler() member function. An object look and feel handler is dedicated to a specific gadget class, and to the look and feel handler for which it was created.

Constructor & Destructor Documentation

◆ IlvObjectLFHandler()

IlvObjectLFHandler::IlvObjectLFHandler ( IlvClassInfo classInfo,
IlvLookFeelHandler lf 
)

Initializes a new instance of the IlvObjectLFHandler class.

Parameters
classInfoThe class information of the object look and feel handler.
lfThe look and feel handler of this object's look and feel handler.

Member Function Documentation

◆ getDisplay()

IlvDisplay* IlvObjectLFHandler::getDisplay ( ) const

Retrieves the IlvDisplay instance associated with this handler.

Returns
The display instance associated with this handler.

◆ getLookFeelHandler()

IlvLookFeelHandler* IlvObjectLFHandler::getLookFeelHandler ( ) const

Retrieves the IlvLookFeelHandler instance associated with this handler.

Returns
The look and feel handler instance associated with this handler.