rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvDefaultTextFieldLFHandler Class Reference

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

#include <ilviews/gadgets/textfd.h>

Inheritance diagram for IlvDefaultTextFieldLFHandler:
IlvTextFieldLFHandler IlvObjectLFHandler IlvTextFieldMLFHandler IlvTextFieldWLFHandler IlvTextFieldVXLFHandler IlvTextFieldW95LFHandler

List of all members.

Public Member Functions

virtual void drawContents (const IlvTextField *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a text field.
virtual void getTextArea (const IlvTextField *, IlvRect &, const IlvTransformer *) const
 Computes the area where the text of a text field will be drawn.
virtual IlBoolean handleEvent (IlvTextField *, IlvEvent &) const
 Is called to handle the events of a text field.

Detailed Description

Object look-and-feel class.

Library: ilvgadgt

The predefined object look-and-feel handlers of the text field 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 IlvDefaultTextFieldLFHandler::drawContents ( const IlvTextField tfd,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the contents of a text field.

Parameters:
tfd The text field.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvTextFieldLFHandler.

virtual void IlvDefaultTextFieldLFHandler::getTextArea ( const IlvTextField tfd,
IlvRect rect,
const IlvTransformer t 
) const [virtual]

Computes the area where the text of a text field will be drawn.

Parameters:
tfd The text field.
rect The returned rectangle.
t The transformer.

Implements IlvTextFieldLFHandler.

virtual IlBoolean IlvDefaultTextFieldLFHandler::handleEvent ( IlvTextField tfd,
IlvEvent event 
) const [virtual]

Is called to handle the events of a text field.

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

Implements IlvTextFieldLFHandler.

 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.