Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvTextFieldCSSLFHandler Class Reference

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

#include <ilviews/gadgets/css/textfd.h>

Inheritance diagram for IlvTextFieldCSSLFHandler:
IlvDefaultTextFieldLFHandler IlvTextFieldLFHandler IlvObjectLFHandler

Public Member Functions

 IlvTextFieldCSSLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawBackground (const IlvTextField *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a text field. More...
 
virtual void drawContents (const IlvTextField *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a text field. More...
 
virtual void drawCursor (const IlvTextField *, IlvPoint &, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the cursor of a text field. More...
 
virtual void drawFrame (const IlvTextField *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame 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...
 
- Public Member Functions inherited from IlvDefaultTextFieldLFHandler
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...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvcsslook

The class for the motif object look-and-feel handler of the text field.

Constructor & Destructor Documentation

◆ IlvTextFieldCSSLFHandler()

IlvTextFieldCSSLFHandler::IlvTextFieldCSSLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvTextFieldCSSLFHandler instance and initializes it with lfh.

Parameters
lfhThe look-and-feel handler which this handler will be associated to.

Member Function Documentation

◆ drawBackground()

virtual void IlvTextFieldCSSLFHandler::drawBackground ( const IlvTextField tfd,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a text field.

Parameters
tfdThe text field.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTextFieldLFHandler.

◆ drawContents()

virtual void IlvTextFieldCSSLFHandler::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.

Reimplemented from IlvDefaultTextFieldLFHandler.

◆ drawCursor()

virtual void IlvTextFieldCSSLFHandler::drawCursor ( const IlvTextField tfd,
IlvPoint point,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the cursor of a text field.

Parameters
tfdThe text field.
pointThe point where the cursor will be drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTextFieldLFHandler.

◆ drawFrame()

virtual void IlvTextFieldCSSLFHandler::drawFrame ( const IlvTextField tfd,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a text field.

Parameters
tfdThe text field.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvTextFieldLFHandler.

◆ getTextArea()

virtual void IlvTextFieldCSSLFHandler::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.

Reimplemented from IlvDefaultTextFieldLFHandler.