class CEikAlignedControl : public CAknControl |
Extends CAknControl to support control alignment and margins.
eikcoctl.lib S60 0.9
Public Member Functions | |
---|---|
CEikAlignedControl() | |
~CEikAlignedControl() | |
IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
IMPORT_C void | SetAlignment(TGulAlignmentValue) |
IMPORT_C void | SetAllMarginsTo(TInt) |
Protected Member Functions | |
---|---|
IMPORT_C void | WriteInternalStateL(RWriteStream &) |
Private Member Functions | |
---|---|
IMPORT_C void * | ExtensionInterface(TUid) |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType |
Public Attributes | |
---|---|
TGulAlignment | iAlignment |
TMargins8 | iMargin |
Private Attributes | |
---|---|
TInt | iSpare |
Inherited Attributes | |
---|---|
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize |
IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [private, virtual] |
From CAknControl.
TUid aInterface |
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
From CCoeControl. Handles pointer events.
This function gets called whenever a pointer event occurs in the control, i.e. when the pointer is within the control's extent, or when the control has grabbed the pointer. The control should implement this function to handle pointer events.
If overriding this method, the implementation must include a base call to this method.
From CCoeControl.
const TPointerEvent & aPointerEvent | The pointer event. |
IMPORT_C void | SetAlignment | ( | TGulAlignmentValue | aAlign | ) |
Sets the control's alignment.
TGulAlignmentValue aAlign | The alignment to be set to the control. |
IMPORT_C void | SetAllMarginsTo | ( | TInt | aValue | ) |
Sets all of the control's margins.
TInt aValue | The number of pixels to which all margins will be set. |
IMPORT_C void | WriteInternalStateL | ( | RWriteStream & | aWriteStream | ) | const [protected, virtual] |
Writes the internal state of the control and its components to aWriteStream.
Does nothing in release mode. Designed to be overridden and base called from subclasses.
From CCoeControl.
RWriteStream & aWriteStream | A connected write stream. |