rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
List of all members | Public Member Functions
IlvDefaultTextFieldLFHandler Class Reference

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

#include <ilviews/gadgets/textfd.h>

Inheritance diagram for IlvDefaultTextFieldLFHandler:
IlvTextFieldLFHandler IlvObjectLFHandler IlvTextFieldMLFHandler IlvTextFieldWLFHandler IlvTextFieldVXLFHandler IlvTextFieldW95LFHandler

Public Member Functions

virtual void drawContents (const IlvTextField *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a text field. More...
 
virtual void getTextArea (const IlvTextField *, IlvRect &, const IlvTransformer *) const
 Computes the area where the text of a text field will be drawn. More...
 
virtual IlBoolean handleEvent (IlvTextField *, IlvEvent &) const
 Is called to handle the events of a text field. More...
 
- Public Member Functions inherited from IlvTextFieldLFHandler
 IlvTextFieldLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
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. More...
 
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. More...
 
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. More...
 

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
tfdThe text field.
dstThe destination port.
tThe transformer.
clipThe 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
tfdThe text field.
rectThe returned rectangle.
tThe transformer.

Implements IlvTextFieldLFHandler.

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

Is called to handle the events of a text field.

Parameters
tfdThe text field.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvTextFieldLFHandler.


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