class CAknScrollButton : public CAknControl |
Implements a scroll buttons of a scroll bar.
Series 60 0.9
Public Member Functions | |
---|---|
~CAknScrollButton() | |
CCoeControl * | ComponentControl(TInt) |
TInt | CountComponentControls() |
IMPORT_C void | CreateWindowOnlyForArrowsL(const CCoeControl *) |
IMPORT_C TBool | IsNormalScrollBarUsingButton() |
IMPORT_C CAknScrollButton * | NewL(TType) |
IMPORT_C CAknScrollButton * | NewL(TType, TTypeOfScrollBar) |
void | SetContainerWindowL(const CCoeControl &) |
IMPORT_C void | SetPosition(const TInt, const TInt) |
IMPORT_C void | SetTypeOfScrollBarUsingButton(TTypeOfScrollBar) |
IMPORT_C TType | Type() |
Private Member Functions | |
---|---|
CAknScrollButton(TType) | |
void | ConstructL() |
void | ConstructL(TTypeOfScrollBar) |
void | Draw(const TRect &) |
void | DrawIndicator() |
void | SizeChanged() |
Public Member Enumerations | |
---|---|
enum | TType { ENudgeLeft, ENudgeUp, ENudgeRight, ENudgeDown, EPageLeft, EPageUp, EPageRight, EPageDown, EHome, ETop, EEnd, EBottom } |
enum | TTypeOfScrollBar { ENormal = 0x00, EArrowHead = 0x01 } |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType |
Private Attributes | |
---|---|
TInt | iFlag |
TRect | iOldRect |
CAknScrollIndicator * | iScrollIndicator |
TType | iType |
Inherited Attributes | |
---|---|
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize |
CCoeControl * | ComponentControl | ( | TInt | aIndex | ) | const [virtual] |
TInt aIndex |
void | ConstructL | ( | TTypeOfScrollBar | aTypeOfScrollBar | ) | [private] |
TTypeOfScrollBar aTypeOfScrollBar |
IMPORT_C void | CreateWindowOnlyForArrowsL | ( | const CCoeControl * | aParent | ) |
Creates a window only for arrows. Sets the container window to be this class.
const CCoeControl * aParent | The control to be the parent of this control. |
void | Draw | ( | const TRect & | aRect | ) | const [private, virtual] |
const TRect & aRect |
IMPORT_C TBool | IsNormalScrollBarUsingButton | ( | ) | const |
Determines whether a scroll button is owned by normal scroll bar. ETrue if a scroll button is owned by the normal scroll bar, EFalse if not
IMPORT_C CAknScrollButton * | NewL | ( | TType | aType | ) | [static] |
Two-phased constructor. A fully constructed CAknScrollButton object.
TType aType | scroll button's type. |
IMPORT_C CAknScrollButton * | NewL | ( | TType | aType, |
TTypeOfScrollBar | aTypeOfScrollBar | |||
) | [static] |
Two-phased constructor. A fully constructed CAknScrollButton object.
TType aType | scroll button's type. |
TTypeOfScrollBar aTypeOfScrollBar | scroll bar type, this information is needed at construction time when creating button for double span scroll bar (ie. the parameter is ENormal) |
void | SetContainerWindowL | ( | const CCoeControl & | aControl | ) | [virtual] |
const CCoeControl & aControl |
IMPORT_C void | SetPosition | ( | const TInt | aFocusPosition, |
const TInt | aScrollSpan | |||
) |
Sets the new focus position in the control and the span length.
IMPORT_C void | SetTypeOfScrollBarUsingButton | ( | TTypeOfScrollBar | aTypeOfScrollBar | ) |
Sets the type of scroll bar which owns the button.
TTypeOfScrollBar aTypeOfScrollBar | The type of the scroll bar. |
Indicates a Scroll button's type
ENudgeLeft |
Scroll button to move the display to the left. |
ENudgeUp |
Scroll button to move the display up. |
ENudgeRight |
Scroll button to move the display to the right. |
ENudgeDown |
Scroll button to move the display down. |
EPageLeft |
Scroll button to move the display page to the left. |
EPageUp |
Scroll button to move the display page up. |
EPageRight |
Scroll button to move the display page to the right. |
EPageDown |
Scroll button to move the display page down. |
EHome |
Scroll button to move the display to the home position. |
ETop |
Scroll button to move the display to the top. |
EEnd |
Scroll button to move the display to the end position. |
EBottom |
Scroll button to move the display to the bottom. |
Indicates a scroll bar's type.
ENormal = 0x00 |
Normal scroll bar |
EArrowHead = 0x01 |
Arrow headed scroll bar |