API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <akninfrm.h>
Inherits CEikBorderedControl.
CCoeControl
.
The input frame can have additional icon and/or info text.
Public Types |
|
enum | TInputFrameFlags { EOwnsField = 0x40, EPopupLayout = 0x80, EPinbLayout = 0x100, EClockAppLayout = 0x200, EFixedFindWithoutLine = 0x400, EShowIndicators = 0x800, EPopupWindowLayout = 0x1000 } |
Enumeration flags for different layouts. More... |
|
Public Member Functions |
|
CAknInputFrame () | |
Default C++ constructor. |
|
IMPORT_C | ~CAknInputFrame () |
Destructor. |
|
IMPORT_C CCoeControl * | Field () const |
Returns apointer to field. |
|
IMPORT_C void | SetInfoTextL (const TDesC &aText) |
Sets additional info text to input frame. |
|
IMPORT_C void | SetLineState (TBool aLineVisible) |
Sets the lines visible or invisible. |
|
void | SetIcon (CGulIcon *aIcon) |
Sets new icon to input frame. |
|
IMPORT_C void | HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType) |
Handles focus changes. |
|
IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
Handles key events. |
|
IMPORT_C TSize | MinimumSize () |
Tells the minimum size of the control. |
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
The second phase constructor: constructs input frame from resources. |
|
IMPORT_C void | SetInputContext (CAknsFrameBackgroundControlContext *aContext) |
Sets the implementation of this control context in this input frame. |
|
void | HandleResourceChange (TInt aType) |
From CCoeControl. |
|
Static Public Member Functions |
|
static IMPORT_C CAknInputFrame * | NewL (CCoeControl *aField, TBool aComponentOwner, const TDesC &aBitmapfile, TInt aBitmapId, TInt aMaskId, TUint32 aFlags=0) |
Two-phased constructor. |
|
static IMPORT_C CAknInputFrame * | NewL (CCoeControl *aField, TBool aComponentOwner, CGulIcon *aIcon, TUint32 aFlags=0) |
Two-phased constructor. |
|
Enumeration flags for different layouts. |
|
Default C++ constructor. |
|
Destructor. Frees all resources owned by the object prior to its destruction. |
|
The second phase constructor: constructs input frame from resources.
|
|
Returns apointer to field.
|
|
Handles focus changes. This is called by the UI Control Framework to notify that an event occured in observed input frame.
|
|
From CCoeControl. Handles a change to the control's resources.
Reimplemented from CEikBorderedControl. |
|
Tells the minimum size of the control.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Handles key events.
|
|
Sets new icon to input frame.
|
|
Sets additional info text to input frame.
|
|
Sets the implementation of this control context in this input frame. It is a layout background of the frame item.
|
|
Sets the lines visible or invisible.
|