|
|
|
Location:
EIKBCTRL.H
Link against: eikcoctl.lib
class CEikBorderedControl : public CCoeControl, public MEikBorderedControl;
A control which is drawn surrounded by a rectangular border.
This class is used as the basis for most Uikon controls.The screen appearance of derived classes can be changed by overriding the protected method Draw() . By default, this draws a border of the appropriate type around the control.
MEikBorderedControl - Interface for bordered controlsMObjectProvider - An interface that allows an object to be part of a network of object providersCBase - Base class for all classes to be instantiated on the heapCCoeControl - Control base class from which all other controls are derivedCEikBorderedControl - A control which is drawn surrounded by a rectangular borderDefined in CEikBorderedControl:
ActivateL(), Border(), CEikBorderedControl(), CEikBorderedControl(), ComponentControl(), ConstructFromResourceL(), CountComponentControls(), Draw(), FocusChanged(), GetColorUseListL(), GetHelpContext(), HandleControlArrayEventL(), HandlePointerBufferReadyL(), HandlePointerEventL(), HandleResourceChange(), HasBorder(), InputCapabilities(), MakeVisible(), MinimumSize(), MopSupplyObject(), OfferKeyEventL(), PositionChanged(), PrepareForFocusGainL(), PrepareForFocusLossL(), RequestRelayout(), SetAdjacent(), SetBorder(), SetBorder(), SetContainerWindowL(), SetDimmed(), SetLayoutManagerL(), SetNeighbor(), SetParent(), SetTextBaselineSpacing(), SizeChanged(), TextBaselineOffset(), WriteInternalStateL(), iBorder
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CCoeControl:
AccumulatedZoom(),
ActivateGc(),
BackedUpWindow(),
Background(),
CapturesPointer(),
ClaimPointerGrab(),
CloseWindow(),
ComponentArrayExists(),
Components(),
ControlContext(),
ControlEnv(),
CopyControlContextFrom(),
CreateBackedUpWindowL(),
CreateWindowL(),
DeactivateGc(),
DrawBackground(),
DrawDeferred(),
DrawForeground(),
DrawNow(),
DrawableWindow(),
EAbsoluteZoom,
ERelativeZoom,
EnableDragEvents(),
FindBackground(),
FindFontProvider(),
GetColor(),
GetGc(),
GetTextDrawer(),
GrabbingComponent(),
HandleComponentControlsResourceChange(),
HandleRedrawEvent(),
HitTest(),
IgnoreEventsUntilNextPointerUp(),
Index(),
InitComponentArrayL(),
IsActivated(),
IsBackedUp(),
IsBeingDestroyed(),
IsBlank(),
IsDimmed(),
IsFocused(),
IsNonFocusing(),
IsReadyToDraw(),
IsVisible(),
LayoutManager(),
MaximumWidth(),
MopNext(),
Observer(),
OverrideColorL(),
OwnsWindow(),
Parent(),
Position(),
PositionRelativeToScreen(),
Rect(),
RecursivelyMergedInputCapabilities(),
ReportEventL(),
Reserved_2(),
ResetGc(),
ScreenFont(),
SetAllowStrayPointers(),
SetBackground(),
SetBlank(),
SetCanDrawOutsideRect(),
SetComponentsToInheritVisibility(),
SetControlContext(),
SetCornerAndSize(),
SetExtent(),
SetExtentToWholeScreen(),
SetFocus(),
SetFocusing(),
SetFontProviderL(),
SetGc(),
SetGloballyCapturing(),
SetHitTest(),
SetMaximumWidth(),
SetMopParent(),
SetNonFocusing(),
SetObserver(),
SetPointerCapture(),
SetPosition(),
SetRect(),
SetSize(),
SetSizeWithoutNotification(),
SetUniqueHandle(),
SetZoomFactorL(),
Size(),
SystemGc(),
TZoomType,
TextDrawer(),
UniqueHandle(),
Window(),
ZoomWithType(),
iCoeEnv,
iContext,
iPosition,
iSize
Inherited from MEikBorderedControl:
ETypeId,
anonymous
Inherited from MObjectProvider:
MObjectProvider_Reserved1(),
MObjectProvider_Reserved2(),
MopGetObject(),
MopGetObjectNoChaining()
IMPORT_C CEikBorderedControl();
Default constructor.
Constructs a new bordered control that has no border.
IMPORT_C CEikBorderedControl(const TGulBorder &aBorder);
Constructor.
Constructs a new bordered control.
|
virtual IMPORT_C TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
Gets an object whose type is encapsulated by the specified TTypeUid object.
|
|
virtual IMPORT_C TBool HasBorder() const;
Tests whether the control has a border.
This function overrides CCoeControl::HasBorder() .
|
virtual IMPORT_C void SetAdjacent(TInt aAdjacent);
Sets control adjacency.
Declares that a control abuts another control along one edge, and does not need to be drawn with a full border along that side. This is for use by layout engines or any user code which lays out controls next to one another.
|
virtual IMPORT_C void GetColorUseListL(CArrayFix< TCoeColorUse > &aColorUseList) const;
Gets the list of logical colours employed in the drawing the control.
Appends the list to aColorUseList together with an explanation of how the colours are used.
|
virtual IMPORT_C void HandleResourceChange(TInt aType);
Handles a change to the control's resources that are shared across the environment.
Examples include colors or fonts.
|
virtual IMPORT_C void SetBorder(TGulBorder::TBorderType aBorderType);
Sets the border type from enum.
Overloaded method which sets the border type to aBorderType for a value from the enum TGulBorder::TBorderType .
|
virtual IMPORT_C void SetBorder(TInt aBorderType);
Sets the border type to aBorderType. Any one of the values from the enums TGulBorder::TBorderType or TGulBorder::TLogicalType specifies a valid border type. Custom border types can be created by selecting
one value from each of the enums TGulBorder::T3DStyle and TGulBorder::TConstructionStyle,
at most one value from the enums TGulBorder::TOutlineStyle and TGulBorder::TInlineStyle,
at least one value from the enums TGulBorder::TThickness and TGulBorder::TRounding
and ORing these values together.
.0
|
virtual IMPORT_C TGulBorder Border() const;
Gets the border type.
|
protected: virtual IMPORT_C void Draw(const TRect &aRect) const;
Draws the border around the control.
This function also clears the central area if the IsBlank() method returns ETrue .
|
protected: virtual IMPORT_C void WriteInternalStateL(RWriteStream &aWriteStream) const;
Writes the internal state of the control and its components to aStream. Does nothing in release mode. Designed to be overidden and base called by subclasses.
|
virtual IMPORT_C TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);
Handles key events. From CCoeControl .
|
|
virtual IMPORT_C void MakeVisible(TBool aVisible);
Sets this control as visible or invisible. From CCoeControl .
|
virtual IMPORT_C void SetDimmed(TBool aDimmed);
Sets the control to be dimmed. From CCoeControl .
|
virtual IMPORT_C void SetContainerWindowL(const CCoeControl &aContainer);
Sets the control's containing window by copying it from aContainer. From CCoeControl .
|
virtual IMPORT_C void ConstructFromResourceL(TResourceReader &aReader);
Constructs the control from a resource file. From CCoeControl .
|
virtual IMPORT_C void ActivateL();
Sets the control as ready to be drawn. From CCoeControl .
virtual IMPORT_C void PrepareForFocusLossL();
Prepares the control for loss of focus. From CCoeControl .
virtual IMPORT_C void PrepareForFocusGainL();
Prepares the control for gaining focus. From CCoeControl .
virtual IMPORT_C void SetNeighbor(CCoeControl *aNeighbor);
Sets an associated control. From CCoeControl .
|
virtual IMPORT_C TSize MinimumSize();
Gets the control's minimum required size. From CCoeControl .
|
virtual IMPORT_C void GetHelpContext(TCoeHelpContext &aContext) const;
Gets the control's help context. From CCoeControl .
|
virtual IMPORT_C TCoeInputCapabilities InputCapabilities() const;
Gets the control's input capabilities. From CCoeControl .
|
virtual IMPORT_C TInt SetParent(CCoeControl *aParent);
Sets aParent as the parent of this control. From CCoeControl .
|
|
virtual IMPORT_C void SetLayoutManagerL(MCoeLayoutManager *aLayout);
Sets the layout manager From CCoeControl .
|
virtual IMPORT_C TBool RequestRelayout(const CCoeControl *aChildControl);
Requests a relayout. From CCoeControl .
|
|
virtual IMPORT_C TInt TextBaselineOffset(const TSize &aSize) const;
Gets the offset to the first text baseline relative to the top of the control. From CCoeControl .
|
|
virtual IMPORT_C void SetTextBaselineSpacing(TInt aSpacing);
Sets the spacing between text baselines. From CCoeControl .
|
virtual IMPORT_C void HandlePointerEventL(const TPointerEvent &aPointerEvent);
Handles pointer events. From CCoeControl .
|
virtual IMPORT_C TInt CountComponentControls() const;
Gets the number of controls contained in a compound control. From CCoeControl .
|
virtual IMPORT_C CCoeControl *ComponentControl(TInt aIndex) const;
Gets an indexed component of a compound control. From CCoeControl .
|
|
protected: virtual IMPORT_C void HandlePointerBufferReadyL();
Handles pointer buffer ready events. From CCoeControl .
protected: virtual IMPORT_C void FocusChanged(TDrawNow aDrawNow);
Responds to a change in focus. From CCoeControl .
|
protected: virtual IMPORT_C void SizeChanged();
Responds to changes to the size and position of the contents of this control. From CCoeControl .
protected: virtual IMPORT_C void PositionChanged();
Responds to changes in the position of a control. From CCoeControl .
protected: virtual IMPORT_C void HandleControlArrayEventL(CCoeControlArray::TEvent aEvent, const CCoeControlArray *aArray, CCoeControl *aControl, TInt aControlId);
Handles events generated by the CCoeControlArray. From CCoeControl .
|
protected: TGulBorder iBorder;