Location:
eikbctrl.h
Link against: eikcoctl.lib
CEikBorderedControl
Supported from 6.0
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.
|
Defined in CEikBorderedControl
:
Border()
, CEikBorderedControl()
, Draw()
, GetColorUseListL()
, HandleResourceChange()
, HasBorder()
, SetAdjacent()
, SetBorder()
, iBorder
Inherited from CBase
:
operator new()
Inherited from CCoeControl
:
ActivateGc()
,
ActivateL()
,
BackedUpWindow()
,
CapturesPointer()
,
ClaimPointerGrab()
,
CloseWindow()
,
ComponentControl()
,
ConstructFromResourceL()
,
ControlContext()
,
ControlEnv()
,
CopyControlContextFrom()
,
CountComponentControls()
,
CreateBackedUpWindowL()
,
CreateWindowL()
,
DeactivateGc()
,
DrawDeferred()
,
DrawNow()
,
DrawableWindow()
,
EnableDragEvents()
,
FocusChanged()
,
GetColor()
,
GetHelpContext()
,
GrabbingComponent()
,
HandleComponentControlsResourceChange()
,
HandlePointerBufferReadyL()
,
HandlePointerEventL()
,
HandleRedrawEvent()
,
IgnoreEventsUntilNextPointerUp()
,
Index()
,
InputCapabilities()
,
IsActivated()
,
IsBackedUp()
,
IsBeingDestroyed()
,
IsBlank()
,
IsDimmed()
,
IsFocused()
,
IsNonFocusing()
,
IsReadyToDraw()
,
IsVisible()
,
MakeVisible()
,
MinimumSize()
,
Observer()
,
OfferKeyEventL()
,
OverrideColorL()
,
OwnsWindow()
,
Position()
,
PositionChanged()
,
PositionRelativeToScreen()
,
PrepareForFocusGainL()
,
PrepareForFocusLossL()
,
Rect()
,
RecursivelyMergedInputCapabilities()
,
ReportEventL()
,
ResetGc()
,
SetAllowStrayPointers()
,
SetBlank()
,
SetCanDrawOutsideRect()
,
SetComponentsToInheritVisibility()
,
SetContainerWindow()
,
SetContainerWindowL()
,
SetControlContext()
,
SetCornerAndSize()
,
SetCornerAndSizeL()
,
SetDimmed()
,
SetExtent()
,
SetExtentL()
,
SetExtentToWholeScreen()
,
SetExtentToWholeScreenL()
,
SetFocus()
,
SetFocusing()
,
SetGloballyCapturing()
,
SetNeighbor()
,
SetNonFocusing()
,
SetObserver()
,
SetPointerCapture()
,
SetPosition()
,
SetRect()
,
SetRectL()
,
SetSize()
,
SetSizeL()
,
SetSizeWithoutNotification()
,
SetSizeWithoutNotificationL()
,
Size()
,
SizeChanged()
,
SizeChangedL()
,
SystemGc()
,
Window()
CEikBorderedControl();
Default constructor. Constructs a new bordered control that has no border.
CEikBorderedControl(const TGulBorder& aBorder);
Constructor. Constructs a new bordered control.
|
TGulBorder Border() const;
Gets the border type.
|
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
.
|
void SetBorder(TInt aBorderType);
Sets the border type. Overloaded method which sets the border
type to aBorderType
.
|
TBool HasBorder() const;
Tests whether the control has a border. This function overrides
CCoeControl::HasBorder()
.
|
void SetAdjacent(TInt aAdjacent);
Sets the 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.
|
protected: 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
.
|
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.
|
void HandleResourceChange(TInt aType);
Handles a change to the control's resources that are shared across the environment. Examples include colors or fonts.
|
TGulBorder iBorder
The control’s border.