class MAlfControlGroupOrderChangedObserver |
Observer class that can be used to notify users about changes in the relative order of control groups in the roster.
The NotifyControlGroupOrderChanged() method will be called when control groups are shown or hidden and as a result the relative order the control groups are in is modified. The notification is also called when the first control group is shown or when the last control group is hidden.
// Create a control group. CAlfControlGroup& group = iEnv->NewControlGroupL( KPrimaryGroup ); // Add a control to the group. AnchorControl* hello = AnchorControl::ConstructL(*iEnv); group.AppendL(*hello); // Show the control group on the display. display.Roster().ShowL(group);CAlfRoster::AddControlGroupOrderChangedObserverL() CAlfRoster::RemoveControlGroupOrderChangedObserver()alfclient.lib
Public Member Functions | |
---|---|
void | NotifyControlGroupOrderChanged() |
void | NotifyControlGroupOrderChanged | ( | ) | [pure virtual] |
Callback method that is called whenever relative order of the control groups is modified. This is a result of calls to CAlfRoster::ShowL() or CAlfRoster::Hide(). Notification is called after relative order of control groups has changed. User can analyze the observed CAlfRoster object for more information about the changes. This observer has to be registered to a CAlfRoster object to acquire notifications through this method.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.