Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvDefaultTextLFHandler Class Reference

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

#include <ilviews/gadgets/text.h>

Inheritance diagram for IlvDefaultTextLFHandler:
IlvTextLFHandler IlvObjectLFHandler IlvTextMLFHandler IlvTextWLFHandler

Public Member Functions

virtual void drawBackground (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a text gadget. More...
 
virtual void drawFrame (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a text gadget. More...
 
virtual void drawGadgetContents (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a text gadget. More...
 
virtual void drawSelection (const IlvText *, IlvPort *, const IlvRect &, const IlvRegion *) const
 Is called to draw the selected part of a text gadget. More...
 
virtual IlBoolean handleGadgetEvent (IlvText *, IlvEvent &event) const
 Is called to handle the events of a text gadget. More...
 
- Public Member Functions inherited from IlvTextLFHandler
 IlvTextLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawCursor (const IlvText *text, IlvPoint &point, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the cursor of a text gadget. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

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

Member Function Documentation

§ drawBackground()

virtual void IlvDefaultTextLFHandler::drawBackground ( const IlvText text,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a text gadget.

Parameters
textThe text gadget.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTextLFHandler.

§ drawFrame()

virtual void IlvDefaultTextLFHandler::drawFrame ( const IlvText text,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a text gadget.

Parameters
textThe text gadget.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTextLFHandler.

§ drawGadgetContents()

virtual void IlvDefaultTextLFHandler::drawGadgetContents ( const IlvText text,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a text gadget.

Parameters
textThe text gadget.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTextLFHandler.

§ drawSelection()

virtual void IlvDefaultTextLFHandler::drawSelection ( const IlvText text,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
virtual

Is called to draw the selected part of a text gadget.

Parameters
textThe text gadget.
dstThe destination port.
rectThe rectangle where to draw the selected text.
clipThe clipping region.

Implements IlvTextLFHandler.

§ handleGadgetEvent()

virtual IlBoolean IlvDefaultTextLFHandler::handleGadgetEvent ( IlvText text,
IlvEvent event 
) const
virtual

Is called to handle the events of a text gadget.

Parameters
textThe text gadget.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvTextLFHandler.


© Copyright 2017, 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.