rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvOptionMenuLFHandler Class Referenceabstract

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

#include <ilviews/gadgets/optmenu.h>

Inheritance diagram for IlvOptionMenuLFHandler:
IlvObjectLFHandler IlvDefaultOptionMenuLFHandler IlvOptionMenuMLFHandler IlvOptionMenuWLFHandler IlvOptionMenuVXLFHandler IlvOptionMenuW95LFHandler

Public Member Functions

 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 handleEvent (IlvOptionMenu *menu, IlvEvent &event) const =0
 Is called to handle the events 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 base class for the object look-and-feel handlers of the option menu.

Constructor & Destructor Documentation

IlvOptionMenuLFHandler::IlvOptionMenuLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvOptionMenuLFHandler instance and initializes it with lfh.

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

Member Function Documentation

virtual void IlvOptionMenuLFHandler::drawArrow ( const IlvOptionMenu menu,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
pure virtual

Is called to draw the arrow of an option menu.

Parameters
menuThe option menu.
dstThe destination port.
rectThe rectangle where to draw the arrow.
clipThe clipping region.

Implemented in IlvOptionMenuVXLFHandler, IlvOptionMenuW95LFHandler, IlvOptionMenuWLFHandler, and IlvOptionMenuMLFHandler.

virtual void IlvOptionMenuLFHandler::drawBackground ( const IlvOptionMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the background of an option menu.

Parameters
menuThe option menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvOptionMenuWLFHandler, IlvOptionMenuVXLFHandler, IlvOptionMenuW95LFHandler, and IlvOptionMenuMLFHandler.

virtual void IlvOptionMenuLFHandler::drawContents ( const IlvOptionMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the contents of an option menu.

Parameters
menuThe option menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvOptionMenuWLFHandler, and IlvOptionMenuMLFHandler.

virtual void IlvOptionMenuLFHandler::drawFrame ( const IlvOptionMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the frame of an option menu.

Parameters
menuThe option menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvOptionMenuWLFHandler, IlvOptionMenuVXLFHandler, IlvOptionMenuW95LFHandler, and IlvOptionMenuMLFHandler.

virtual void IlvOptionMenuLFHandler::drawText ( const IlvOptionMenu menu,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
pure virtual

Is called to draw the selection of an option menu.

Parameters
menuThe option menu.
dstThe destination port.
rectThe rectangle where to draw the selection.
clipThe clipping region.

Implemented in IlvOptionMenuWLFHandler, and IlvOptionMenuMLFHandler.

virtual IlBoolean IlvOptionMenuLFHandler::handleEvent ( IlvOptionMenu menu,
IlvEvent event 
) const
pure 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.

Implemented in IlvDefaultOptionMenuLFHandler.

virtual IlBoolean IlvOptionMenuLFHandler::inArrow ( const IlvOptionMenu menu,
IlvPoint p 
) const
virtual

Indicates whether the specified point is in the arrow of an option menu.

Parameters
menuThe option menu.
pThe point.

Reimplemented in IlvOptionMenuWLFHandler.


© Copyright 2014, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.