Toolbar extension component. Opens an extension view when this extension is pressed.
|
Public Member Functions |
| ~CAknToolbarExtension () |
| Destructor.
|
void | ConstructFromResourceL (TResourceReader &aReader) |
| From CAknButton constructs the extension from resource.
|
TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
| From CCoeControl.
|
void | HandleResourceChange (TInt aType) |
| From CCoeControl Handles resource changes.
|
void | MakeVisible (TBool aVisible) |
| From CCoeControl.
|
void | HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType) |
| From MCoeControlObserver.
|
TInt | ExtensionPosition () |
| Using this the extension view can get extension position in fixed toolbar.
|
void | ShowViewViaIdle () |
| Creates idle if it does not exist yet and calls it by giving a callback for notifying when ready to draw extension view.
|
void | ViewClosed () |
| Extension view tells extension to change state using this method.
|
IMPORT_C CCoeControl * | ControlOrNull (TInt aCommandId) const |
| Gets a pointer to the specified control.
|
IMPORT_C void | AddItemL (CCoeControl *aItem, TInt aType, TInt aCommandId, TInt aFlags, TInt aIndex) |
| Adds one item to the specified place.
|
IMPORT_C void | RemoveItemL (TInt aCommandId) |
| Removes one item from the extension view.
|
TInt | ExtensionFlags () |
| Gets extension flags.
|
IMPORT_C TBool | IsShown () const |
| Returns boolean indicating if extension view is shown.
|
IMPORT_C void | SetShown (TBool aShown) |
| Shows or hides extension view.
|
CCoeControl * | ExtensionView () |
| Returns pointer to extension view.
|
IMPORT_C void | SetItemDimmed (TInt aCommandId, TBool aDimmed) |
| Sets item dimmed or undimmed.
|
IMPORT_C void | HideItemL (TInt aCommandId, TBool aHide) |
| Hides or unhides item.
|
Static Public Member Functions |
static CAknToolbarExtension * | NewL () |
| Creates toolbar extension.
|
static IMPORT_C CAknToolbarExtension * | NewL (TInt aResourceId) |
| Creates toolbar extension.
|
static IMPORT_C CAknToolbarExtension * | NewLC (TInt aResourceId) |
| Creates toolbar extension.
|
static TInt | ShowView (TAny *aThis) |
| Callback to get notified when ready to show extension view again.
|