rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvDefaultTextLFHandler Class Reference

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

#include <ilviews/gadgets/text.h>

Inheritance diagram for IlvDefaultTextLFHandler:
IlvTextLFHandler IlvObjectLFHandler IlvTextMLFHandler IlvTextWLFHandler

List of all members.

Public Member Functions

virtual void drawBackground (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a text gadget.
virtual void drawFrame (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a text gadget.
virtual void drawGadgetContents (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a text gadget.
virtual void drawSelection (const IlvText *, IlvPort *, const IlvRect &, const IlvRegion *) const
 Is called to draw the selected part of a text gadget.
virtual IlBoolean handleGadgetEvent (IlvText *, IlvEvent &event) const
 Is called to handle the events of a text gadget.

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

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:
text The text gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvTextLFHandler.

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:
text The text gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvTextLFHandler.

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:
text The text gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvTextLFHandler.

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:
text The text gadget.
dst The destination port.
rect The rectangle where to draw the selected text.
clip The clipping region.

Implements IlvTextLFHandler.

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

Is called to handle the events of a text gadget.

Parameters:
text The text gadget.
event The event to handle.
Returns:
IlTrue if the event has been consumed.

Implements IlvTextLFHandler.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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