Rogue Wave Views Gadgets Package API Reference Guide |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/textfd.h>
Public Member Functions | |
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 | drawContents (const IlvTextField *tfd, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the contents 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... | |
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. More... | |
virtual IlBoolean | handleEvent (IlvTextField *tfd, IlvEvent &event) const =0 |
Is called to handle the events of a text field. More... | |
Object Look-and-Feel class.
Library: ilvgadgt
The base class for the object look-and-feel handlers of the text field.
IlvTextFieldLFHandler::IlvTextFieldLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvTextFieldLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
|
pure virtual |
Is called to draw the background of a text field.
tfd | The text field. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvTextFieldWLFHandler, IlvTextFieldW95LFHandler, IlvTextFieldVXLFHandler, and IlvTextFieldMLFHandler.
|
pure virtual |
Is called to draw the contents of a text field.
tfd | The text field. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvDefaultTextFieldLFHandler.
|
pure virtual |
Is called to draw the cursor of a text field.
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 IlvTextFieldWLFHandler, and IlvTextFieldMLFHandler.
|
pure virtual |
Is called to draw the frame of a text field.
tfd | The text field. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvTextFieldWLFHandler, IlvTextFieldW95LFHandler, IlvTextFieldVXLFHandler, and IlvTextFieldMLFHandler.
|
pure virtual |
Computes the area where the text of a text field will be drawn.
tfd | The text field. |
rect | The returned rectangle. |
t | The transformer. |
Implemented in IlvDefaultTextFieldLFHandler.
|
pure virtual |
Is called to handle the events of a text field.
tfd | The text field. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implemented in IlvDefaultTextFieldLFHandler.
© Copyright 2016, 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.