API published in: S60 1st Ed
Link against: eikcoctl.lib avkon.lib
Required Capabilities
None
#include <eikbtgrp.h>
Inherited by CEikButtonPanel, CEikToolBar, and MEikEnhancedButtonGroup.
Public Member Functions |
|
void | Release () |
Deletes the object. |
|
virtual void | SetCommandL (TInt aPosition, TInt aCommandId, const TDesC *aText, const CFbsBitmap *aBitmap, const CFbsBitmap *aMask)=0 |
Sets a command button's bitmap, text and command ID. |
|
virtual void | SetCommandL (TInt aPosition, TInt aResourceId)=0 |
Sets a command button's bitmap, text label and command ID. |
|
virtual void | SetCommandSetL (TInt aResourceId)=0 |
Initialises the group of command buttons from a resource. |
|
virtual void | AddCommandL (TInt aPosition, TInt aCommandId, const TDesC *aText, const CFbsBitmap *aBitmap, const CFbsBitmap *aMask)=0 |
Adds a command button with a command ID and a label containing both a bitmap and text. |
|
virtual void | AddCommandToStackL (TInt aPosition, TInt aCommandId, const TDesC *aText, const CFbsBitmap *aBitmap, const CFbsBitmap *aMask)=0 |
Pushes a command button with text, bitmap, mask and a command ID onto a position's button stack. |
|
virtual void | AddCommandToStackL (TInt aPosition, TInt aResourceId)=0 |
Pushes a command button onto a position's button stack. |
|
virtual void | AddCommandSetToStackL (TInt aResourceId)=0 |
As with SetCommandL() but for a set of buttons, also allows the previous command button to be retrieved by calling RemoveCommand(). |
|
virtual void | SetDefaultCommand (TInt aCommandId)=0 |
Sets the default command ID for buttons in this button group. |
|
virtual TSize | CalcMinimumSizeL (TInt aResourceId)=0 |
Calculates minimum size required to display the buttons defined in the specified resource structure. |
|
virtual void | RemoveCommandFromStack (TInt aPosition, TInt aCommandId)=0 |
Removes the command identified by aCommandId, in position aPosition in the group, from the command stack. |
|
virtual TInt | CommandPos (TInt aCommandId) const =0 |
Returns the command position by command id. |
|
virtual void | DimCommand (TInt aCommandId, TBool aDimmed)=0 |
Dims or undims a button without drawing it. |
|
virtual TBool | IsCommandDimmed (TInt aCommandId) const =0 |
Determines whether the button with the specified command ID is dimmed. |
|
virtual void | MakeCommandVisible (TInt aCommandId, TBool aVisible)=0 |
Makes the button with the specified id either visible, or invisible. |
|
virtual TBool | IsCommandVisible (TInt aCommandId) const =0 |
Tests whether the button with the specified command ID is visible. |
|
virtual IMPORT_C void | AnimateCommand (TInt aCommandId) |
Animates the button with the specified id. |
|
virtual CCoeControl * | AsControl ()=0 |
Returns the button group as a control. |
|
virtual const CCoeControl * | AsControl () const =0 |
Returns the button group as a control. |
|
virtual void | SetBoundingRect (const TRect &aBoundingRect)=0 |
Sets the boundary rectangle for externally-positioned button groups. |
|
virtual void | ReduceRect (TRect &aBoundingRect) const =0 |
Subtracts the area occupied by the button group from the specified bounding rectangle. |
|
virtual CCoeControl * | GroupControlById (TInt aCommandId) const =0 |
Returns a group control (a button) as a control. |
|
virtual CEikCommandButton * | GroupControlAsButton (TInt aCommandId) const =0 |
Returns a group control (a button) as a command button. |
|
virtual TInt | CommandId (TInt aCommandPos) const =0 |
Returns the command id by position. |
|
virtual TInt | ButtonCount () const =0 |
Gets the total number of buttons currently present in the group. |
|
virtual TUint | ButtonGroupFlags () const =0 |
Gets the button group flags. |
|
virtual void | SetMSKCommandObserver (MEikCommandObserver *aCommandObserver)=0 |
Sets the middle softkey command observer. |
|
virtual void | DimCommandByPosition (TInt aPosition, TBool aDimmed)=0 |
Dims (but doesn't draw) the button with position aPosition. |
|
virtual TBool | IsCommandDimmedByPosition (TInt aPosition) const =0 |
Returns ETrue if the button with position aPosition is dimmed. |
|
virtual void | MakeCommandVisibleByPosition (TInt aPosition, TBool aVisible)=0 |
Sets the the button with position aPosition to be visible if aVisible is ETrue. |
|
virtual TBool | IsCommandVisibleByPosition (TInt aPosition) const =0 |
Returns ETrue if the button with position aPosition is visible. |
|
virtual void | AnimateCommandByPosition (TInt aPosition)=0 |
Animates the button with position aPosition. |
|
Adds a command button with a command ID and a label containing both a bitmap and text.
Implemented in CEikCba. |
|
As with SetCommandL() but for a set of buttons, also allows the previous command button to be retrieved by calling RemoveCommand().
Implemented in CEikCba. |
|
Pushes a command button onto a position's button stack. The text, bitmap, mask and command ID are all read from resource.
Implemented in CEikCba. |
|
Pushes a command button with text, bitmap, mask and a command ID onto a position's button stack.
Implemented in CEikCba. |
|
Animates the button with the specified id.
Reimplemented in CEikCba. |
|
Animates the button with position aPosition.
Implemented in CEikCba. |
|
Returns the button group as a control.
Implemented in CEikCba. |
|
Returns the button group as a control.
Implemented in CEikCba. |
|
Gets the total number of buttons currently present in the group.
Implemented in CEikCba. |
|
Gets the button group flags.
Implemented in CEikCba. |
|
Calculates minimum size required to display the buttons defined in the specified resource structure.
Implemented in CEikCba. |
|
Returns the command id by position.
Implemented in CEikCba. |
|
Returns the command position by command id.
Implemented in CEikCba. |
|
Dims or undims a button without drawing it.
Implemented in CEikCba. |
|
Dims (but doesn't draw) the button with position aPosition.
Implemented in CEikCba. |
|
Returns a group control (a button) as a command button.
Implemented in CEikCba. |
|
Returns a group control (a button) as a control.
Implemented in CEikCba. |
|
Determines whether the button with the specified command ID is dimmed.
Implemented in CEikCba. |
|
Returns ETrue if the button with position aPosition is dimmed.
Implemented in CEikCba. |
|
Tests whether the button with the specified command ID is visible.
Implemented in CEikCba. |
|
Returns ETrue if the button with position aPosition is visible.
Implemented in CEikCba. |
|
Makes the button with the specified id either visible, or invisible.
Implemented in CEikCba. |
|
Sets the the button with position aPosition to be visible if aVisible is ETrue.
Implemented in CEikCba. |
|
Subtracts the area occupied by the button group from the specified bounding rectangle. This method should be used in preference to querying the container's area at all times. For use by EExternal button groups only.
Implemented in CEikCba, and CEikToolBar. |
|
Deletes the object. |
|
Removes the command identified by aCommandId, in position aPosition in the group, from the command stack. Automatically retrieves the previous command details. Commands are added to the stack by calling AddCommandToStackL.
Implemented in CEikCba. |
|
Sets the boundary rectangle for externally-positioned button groups. For use by EExternal button groups only.
Implemented in CEikCba, and CEikToolBar. |
|
Sets a command button's bitmap, text label and command ID. The bitmap, mask, text and command ID are all read from resource.
Implemented in CEikCba. |
|
Sets a command button's bitmap, text and command ID.
Implemented in CEikCba. |
|
Initialises the group of command buttons from a resource.
Implemented in CEikCba. |
|
Sets the default command ID for buttons in this button group.
Implemented in CEikCba. |
|
Sets the middle softkey command observer.
Implemented in CEikCba. |