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

Object look-and-feel class. More...

#include <ilviews/gadgets/optmenu.h>

Inheritance diagram for IlvDefaultOptionMenuLFHandler:
IlvOptionMenuLFHandler IlvObjectLFHandler IlvOptionMenuCSSLFHandler IlvOptionMenuMLFHandler IlvOptionMenuWLFHandler IlvOptionMenuVXLFHandler IlvOptionMenuW95LFHandler

Public Member Functions

virtual IlBoolean handleEvent (IlvOptionMenu *, IlvEvent &) const
 Is called to handle the events of an option menu. More...
 
- Public Member Functions inherited from IlvOptionMenuLFHandler
 IlvOptionMenuLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawArrow (const IlvOptionMenu *menu, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0
 Is called to draw the arrow of an option menu. More...
 
virtual void drawBackground (const IlvOptionMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the background of an option menu. More...
 
virtual void drawContents (const IlvOptionMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the contents of an option menu. More...
 
virtual void drawFrame (const IlvOptionMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the frame of an option menu. More...
 
virtual void drawText (const IlvOptionMenu *menu, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0
 Is called to draw the selection of an option menu. More...
 
virtual IlBoolean inArrow (const IlvOptionMenu *menu, IlvPoint &p) const
 Indicates whether the specified point is in the arrow of an option menu. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

The predefined object look-and-feel handlers of the option menu are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.

Member Function Documentation

◆ handleEvent()

virtual IlBoolean IlvDefaultOptionMenuLFHandler::handleEvent ( IlvOptionMenu menu,
IlvEvent event 
) const
virtual

Is called to handle the events of an option menu.

Parameters
menuThe option menu.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvOptionMenuLFHandler.