MPbk2FieldProperty Class Reference

class MPbk2FieldProperty

Phonebook 2 field property interface.

Field property defines data for contact field presentation in the UI.

Member Functions Documentation

AddItemOrdering()

TInt AddItemOrdering()const [pure virtual]

Returns the field ordering item in 'add item' dialog.

AddItemText()

const TDesC &AddItemText()const [pure virtual]

Returns field 'add item' text, or the default label if there is no 'add item' text defined.

CtrlType()

TPbk2FieldCtrlType CtrlType()const [pure virtual]

Returns the type of the field editor.

DefaultCase()

TPbk2FieldDefaultCase DefaultCase()const [pure virtual]

Returns the default character case for the field editor.

DefaultLabel()

const TDesC &DefaultLabel()const [pure virtual]

Returns the default label that should be used if the store doesn't define a label.

EditMode()

TPbk2FieldEditMode EditMode()const [pure virtual]

Returns the editing mode for the field editor.

FieldPropertyExtension(TUid)

TAny *FieldPropertyExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

FieldType()

const MVPbkFieldType &FieldType()const [pure virtual]

Returns the field type of the property

Flags()

TUint Flags()const [pure virtual]

Returns the field property flags defined in Pbk2FieldProperty.hrh.

GroupId()

TPbk2FieldGroupId GroupId()const [pure virtual]

Returns the group id of the property.

IconId()

const TPbk2IconId &IconId()const [pure virtual]

Returns the icon id for the field.

IsSame(const MPbk2FieldProperty &)

TBool IsSame(const MPbk2FieldProperty &aOther)const [pure virtual]

Compares two field properties.

Parameters

const MPbk2FieldProperty & aOtherThe property to compare

Location()

TPbk2FieldLocation Location()const [pure virtual]

Returns the location of the field.

MaxLength()

TInt MaxLength()const [pure virtual]

Returns the maximum length of the field.

Multiplicity()

TPbk2FieldMultiplicity Multiplicity()const [pure virtual]

Returns the multiplicity information

OrderingItem()

TInt OrderingItem()const [pure virtual]

Returns the field ordering item.