Requesting aUse as either EView or EDialog will create the default button set for the host device; the other options are included primarily for testing.
|
Public Types |
| enum | TOrientation { EVertical = SLafButtonGroupContainer::EVertical,
EHorizontal = SLafButtonGroupContainer::EHorizontal
} |
| enum | TLocation { EInternal = SLafButtonGroupContainer::EInternal,
EExternal = SLafButtonGroupContainer::EExternal
} |
| enum | THotKeyFlags { EShowHotKey = 0x01,
EPlainHotKey = 0x02
} |
| enum | TFlags { EAddToStack = 0x01,
EDelayActivation = 0x02,
EUseMaxSize = 0x04
} |
Public Member Functions |
| | DECLARE_TYPE_ID (0x101F4107) enum TUse |
| IMPORT_C | ~CEikButtonGroupContainer () |
| void | SetCommandL (TInt aPosition, TInt aCommandId, const TDesC &aText) |
| | Sets aText and aCommandId (but no bitmaps) into the button at aPosition, overwriting any previous contents.
|
| void | SetCommandL (TInt aPosition, TInt aCommandId, const CFbsBitmap &aBitmap, const CFbsBitmap &aMask) |
| | Sets aBitmap, aMask and aCommandId (but no text) into the button at aPosition, overwriting any previous contents.
|
| void | SetCommandL (TInt aPosition, TInt aCommandId, const TDesC &aText, const CFbsBitmap &aBitmap, const CFbsBitmap &aMask) |
| | Sets aText, aBitmap, aMask and aCommandId into the button at aPosition, overwriting any previous contents.
|
| void | SetCommandL (TInt aPosition, TInt aCommandId, const TDesC &aFile, TInt aBitmapId, TInt aMaskId) |
| | Sets the bitmaps from the file specified and aCommandId into the button at aPosition, overwriting any previous contents.
|
| void | SetCommandL (TInt aPosition, TInt aCommandId, const TDesC &aText, const TDesC &aFile, TInt aBitmapId, TInt aMaskId) |
| | Sets aText, the bitmaps from the file specified and aCommandId into the button at aPosition, overwriting any previous contents.
|
| void | SetCommandL (TInt aPosition, TInt aResourceId) |
| | Sets the text, bitmaps and command id defined by aResourceId into the button at aPosition, overwriting any previous contents.
|
| void | SetCommandL (TInt aCommandId, const TDesC &aText) |
| | Sets aText (but no bitmaps) into the button with id aCommandId, overwriting any previous contents.
|
| void | SetCommandL (TInt aCommandId, const CFbsBitmap &aBitmap, const CFbsBitmap &aMask) |
| | Sets aBitmap and aMask (but no text) into the button with id aCommandId, overwriting any previous contents.
|
| void | SetCommandL (TInt aCommandId, const TDesC &aText, const CFbsBitmap &aBitmap, const CFbsBitmap &aMask) |
| | Sets aText, aBitmap, aMask into the button with id aCommandId, overwriting any previous contents.
|
| void | SetCommandL (TInt aCommandId, const TDesC &aFile, TInt aBitmapId, TInt aMaskId) |
| | Sets the bitmaps from the file specified into the button with id aCommandId, overwriting any previous contents.
|
| void | SetCommandL (TInt aCommandId, const TDesC &aText, const TDesC &aFile, TInt aBitmapId, TInt aMaskId) |
| | Sets aText and the bitmaps from the file specified into the button with id aCommandId, overwriting any previous contents.
|
| IMPORT_C void | SetCommandSetL (TInt aResourceId) |
| void | AddCommandL (TInt aPosition, TInt aCommandId, const TDesC &aText) |
| | Adds a button containing aText and aCommandId at aPosition.
|
| void | AddCommandL (TInt aPosition, TInt aCommandId, const CFbsBitmap &aBitmap, const CFbsBitmap &aMask) |
| | Adds a button containing aBitmap, aMask and aCommandId at aPosition, transferring ownership of the bitmaps at the end.
|
| void | AddCommandL (TInt aPosition, TInt aCommandId, const TDesC &aText, const CFbsBitmap &aBitmap, const CFbsBitmap &aMask) |
| | Adds a button containing aText, aBitmap, aMask and aCommandId at aPosition, transferring ownership of the bitmaps at the end.
|
| void | AddCommandL (TInt aPosition, TInt aCommandId, const TDesC &aFile, TInt aBitmapId, TInt aMaskId) |
| | Adds a button containing the bitmaps specified at aPosition.
|
| void | AddCommandL (TInt aPosition, TInt aCommandId, const TDesC &aText, const TDesC &aFile, TInt aBitmapId, TInt aMaskId) |
| | Adds a button containing aText and the bitmaps specified at aPosition.
|
| void | AddCommandToStackL (TInt aPosition, TInt aCommandId, const TDesC &aText) |
| | As with SetCommandL but allows the previous command to be retrieved at any time by calling RemoveCommand.
|
| void | AddCommandToStackL (TInt aPosition, TInt aCommandId, const CFbsBitmap &aBitmap, const CFbsBitmap &aMask) |
| | As with SetCommandL but allows the previous command to be retrieved at any time by calling RemoveCommand.
|
| void | AddCommandToStackL (TInt aPosition, TInt aCommandId, const TDesC &aText, const CFbsBitmap &aBitmap, const CFbsBitmap &aMask) |
| | As with SetCommandL but allows the previous command to be retrieved at any time by calling RemoveCommand.
|
| void | AddCommandToStackL (TInt aPosition, TInt aCommandId, const TDesC &aFile, TInt aBitmapId, TInt aMaskId) |
| | As with SetCommandL but allows the previous command to be retrieved at any time by calling RemoveCommand.
|
| void | AddCommandToStackL (TInt aPosition, TInt aCommandId, const TDesC &aText, const TDesC &aFile, TInt aBitmapId, TInt aMaskId) |
| | As with SetCommandL but allows the previous command to be retrieved at any time by calling RemoveCommand.
|
| void | AddCommandToStackL (TInt aPosition, TInt aResourceId) |
| | As with SetCommandL but allows the previous command to be retrieved at any time by calling RemoveCommand.
|
| IMPORT_C void | AddCommandSetToStackL (TInt aResourceId) |
| IMPORT_C void | RemoveCommandFromStack (TInt aPosition, TInt aCommandId) |
| IMPORT_C void | SetDefaultCommand (TInt aCommandId) |
| IMPORT_C TSize | CalcMinimumSizeL (TInt aResourceId) const |
| IMPORT_C void | CleanupCommandPushL (TInt aPosition) |
| void | CleanupCommandPop () |
| | Remove a command from the cleanup stack.
|
| IMPORT_C void | CleanupCommandPop (TInt aCount) |
| void | CleanupCommandPopAndDestroy () |
| | Remove a command placed on the cleanup stack by calling CleanupCommandPushL, rolling back to the previous details.
|
| void | CleanupCommandPopAndDestroy (TInt aCount) |
| | Remove aCount commands placed on the cleanup stack by calling CleanupCommandPushL, rolling back to the previous details.
|
| IMPORT_C TInt | MaxCommands () const |
| IMPORT_C TInt | ButtonCount () const |
| IMPORT_C void | DimCommand (TInt aCommandId, TBool aDimmed) |
| | Dims (but doesn't draw) the button with id aCommandId if aDimmed is ETrue.
|
| IMPORT_C TBool | IsCommandDimmed (TInt aCommandId) const |
| | Returns ETrue if the button with id aCommandId is dimmed.
|
| IMPORT_C void | MakeCommandVisible (TInt aCommandId, TBool aVisible) |
| | Sets the the button with id aCommandId to be visible if aVisible is ETrue.
|
| IMPORT_C TBool | IsCommandVisible (TInt aCommandId) const |
| | Returns ETrue if the button with id aCommandId is visible.
|
| IMPORT_C void | AnimateCommand (TInt aCommandId) |
| | Animates the button with id aCommandId.
|
| IMPORT_C TLocation | Location () const |
| IMPORT_C CEikCommandButton * | CommandButtonOrNull (TInt aCommandId) const |
| IMPORT_C void | SetBoundingRect (const TRect &aRect) |
| IMPORT_C void | ReduceRect (TRect &aBoundingRect) const |
| IMPORT_C CCoeControl * | ControlOrNull (TInt aCommandId) const |
| IMPORT_C CEikCommandButton * | ButtonById (TInt aCommandId) const |
| IMPORT_C TInt | PositionById (TInt aCommandId) const |
| IMPORT_C void | UpdateHotKey (TInt aCommandId, THotKeyFlags aFlags, TInt aKeyId) |
| IMPORT_C void | UpdateCommandObserverL (TInt aPos, MEikCommandObserver &aCommandObserver) |
| IMPORT_C void | RemoveCommandObserver (TInt aPos) |
| IMPORT_C TBool | DelayActivation () const |
| MEikButtonGroup * | ButtonGroup () |
| TUse | ButtonGroupType () |
| IMPORT_C TSize | MinimumSize () |
| IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
| void | MakeVisible (TBool aVisible) |
| IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
| virtual IMPORT_C void | Reserved_MtsmPosition () |
| virtual IMPORT_C void | Reserved_MtsmObject () |
| IMPORT_C void | OfferCommandListL (const RArray< TInt > &aCommandList) |
| | Used to offer list of commands for softkeys.
|
| IMPORT_C void | OfferCommandListL (const TInt aResourceId) |
| | Used to offer list of commands for softkeys.
|
| IMPORT_C TBool | IsCommandInGroup (const TInt aCommandId) const |
| | Used to check if a certain command have been approved to the current command set.
|
| IMPORT_C void | ReplaceCommand (const TInt aCommandId, const TInt aResourceId) |
| | Replacing command with another.
|
Static Public Member Functions |
| static IMPORT_C CEikButtonGroupContainer * | NewL (TUse aUse, TOrientation aOrientation, MEikCommandObserver *aCommandObserver, TInt aResourceId, TUint aFlags=EAddToStack) |
| static IMPORT_C CEikButtonGroupContainer * | NewL (TUse aUse, TOrientation aOrientation, MEikCommandObserver *aCommandObserver, TInt aResourceId, const CCoeControl &aParent, TUint aFlags=EAddToStack) |
| static IMPORT_C CEikButtonGroupContainer * | NewL (TUse aUse, TOrientation aOrientation, MEikCommandObserver *aCommandObserver, TInt aResourceId, RWindowGroup &aParentWg, TUint aFlags=EAddToStack) |
| static IMPORT_C CEikButtonGroupContainer * | Current () |
Friends |
| class | CCmdObserverArray |
| class | CEikButtonGroupStack |
Data Structures |
| class | CCmdObserverArray |
| class | TCmdObserver |
| class | TCmdPos |