API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <akndescarraydecorator.h>
Public Member Functions |
|
IMPORT_C | TAknDesCArrayDecorator () |
Constructor. |
|
IMPORT_C void | SetArray (const MDesCArray *aArray) |
Set pointer to descriptor array that will be decorated. |
|
IMPORT_C void | SetDecorationText (const TDesC &aText) |
Set descriptor containing text that will be used as the extra entry in the descriptor array. |
|
IMPORT_C void | SetActive (const TBool aActive) |
Set the decorator's activation state. |
|
IMPORT_C TBool | DecoratedIndex (TInt &aIndex) const |
Reports whether the supplied index position corresponds to the decoration entry in the array. |
|
virtual IMPORT_C TInt | MdcaCount () const |
Reports count of decorated array. |
|
virtual IMPORT_C TPtrC | MdcaPoint (TInt aIndex) const |
Returns array element. |
|
Constructor. |
|
Reports whether the supplied index position corresponds to the decoration entry in the array. Note that the client must call this method on each instance of TAknDesCArrayDecorator in the recursive containment (if it is not part of the MDesCArray interface).
|
|
Reports count of decorated array.
|
|
Returns array element. Returns decoration text if the index is one off the end of the decorated array
|
|
Set the decorator's activation state. If active, the decorator adds the decoration to the array, otherwise it does not.
|
|
Set pointer to descriptor array that will be decorated.
|
|
Set descriptor containing text that will be used as the extra entry in the descriptor array. The client retains ownership of the descriptor containing the decoration text, and therefore can use the same descriptor text for multiple decorator instances. The client must maintain the descriptor for the lifetime of the decorator.
|