Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/textfd.h>
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. |
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. |
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.
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.
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.
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.
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.
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.
tfd | The text field. | |
event | The event to handle. |
IlTrue
if the event has been consumed. Implemented in IlvDefaultTextFieldLFHandler.
© 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.