rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvTextFieldLFHandler Class Reference

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

#include <ilviews/gadgets/textfd.h>

Inheritance diagram for IlvTextFieldLFHandler:
IlvObjectLFHandler IlvDefaultTextFieldLFHandler IlvTextFieldMLFHandler IlvTextFieldWLFHandler IlvTextFieldVXLFHandler IlvTextFieldW95LFHandler

List of all members.

Public Member Functions

 IlvTextFieldLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
virtual void drawBackground (const IlvTextField *tfd, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the background of a text field.
virtual void drawContents (const IlvTextField *tfd, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the contents of a text field.
virtual void drawCursor (const IlvTextField *tfd, IlvPoint &point, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the cursor of a text field.
virtual void drawFrame (const IlvTextField *tfd, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the frame of a text field.
virtual void getTextArea (const IlvTextField *tfd, IlvRect &rect, const IlvTransformer *t) const =0
 Computes the area where the text of a text field will be drawn.
virtual IlBoolean handleEvent (IlvTextField *tfd, IlvEvent &event) const =0
 Is called to handle the events of a text field.

Detailed Description

Object Look-and-Feel class.

Library: ilvgadgt

The base class for the object look-and-feel handlers of the text field.


Constructor & Destructor Documentation

IlvTextFieldLFHandler::IlvTextFieldLFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvTextFieldLFHandler instance and initializes it with lfh.

Parameters:
lfh The look-and-feel handler which this handler will be associated to.

Member Function Documentation

virtual void IlvTextFieldLFHandler::drawBackground ( const IlvTextField tfd,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the background of a text field.

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

Implemented in IlvTextFieldMLFHandler, IlvTextFieldVXLFHandler, IlvTextFieldW95LFHandler, and IlvTextFieldWLFHandler.

virtual void IlvTextFieldLFHandler::drawContents ( const IlvTextField tfd,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure 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.

Implemented in IlvDefaultTextFieldLFHandler.

virtual void IlvTextFieldLFHandler::drawCursor ( const IlvTextField tfd,
IlvPoint point,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the cursor of a text field.

Parameters:
tfd The text field.
point The point where the cursor will be drawn.
dst The destination port.
t The transformer.
clip The clipping region.

Implemented in IlvTextFieldMLFHandler, and IlvTextFieldWLFHandler.

virtual void IlvTextFieldLFHandler::drawFrame ( const IlvTextField tfd,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [pure virtual]

Is called to draw the frame of a text field.

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

Implemented in IlvTextFieldMLFHandler, IlvTextFieldVXLFHandler, IlvTextFieldW95LFHandler, and IlvTextFieldWLFHandler.

virtual void IlvTextFieldLFHandler::getTextArea ( const IlvTextField tfd,
IlvRect rect,
const IlvTransformer t 
) const [pure 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.

Implemented in IlvDefaultTextFieldLFHandler.

virtual IlBoolean IlvTextFieldLFHandler::handleEvent ( IlvTextField tfd,
IlvEvent event 
) const [pure 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.

Implemented in IlvDefaultTextFieldLFHandler.

 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.