|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Contains the functionality for the BlackBerry-specific implementation of the PIMList.
| Fields inherited from interface net.rim.blackberry.api.pim.PIMList |
UNCATEGORIZED |
| Method Summary | ||
|
void |
addListener(PIMListListener listener)
Adds a PIMListListener to this PIMList. |
|
boolean |
isFieldLabelSettable(int field)
Returns a boolean indicating whether or not a field label can be set. |
|
void |
removeListener(PIMListListener listener)
Removes a PIMListListener from this PIMList. |
|
void |
setFieldLabel(int field,
String value)
Sets a label for a given field. |
| Methods inherited from interface net.rim.blackberry.api.pim.PIMList |
addCategory, close, deleteCategory, getArrayElementLabel, getAttributeLabel, getCategories, getFieldDataType, getFieldLabel, getName, getSupportedArrayElements, getSupportedAttributes, getSupportedFields, isCategory, isSupportedArrayElement, isSupportedAttribute, isSupportedField, items, items, items, itemsByCategory, maxCategories, maxValues, renameCategory |
| Method Detail |
public void addListener(PIMListListener listener)
Note that the listener will remain associated with the native device database even after
the correspoding PIMList object has been deleted. To remove the listener use the removeListener method.
listener - The PIMListListener to add.public void removeListener(PIMListListener listener)
listener - The PIMListListener to remove.
public void setFieldLabel(int field,
String value)
This method silently fails if the field is invalid, or the field label for the specified field is not settable.
Use the isFieldLableSettable method to determine if the field label is settable for this field.
Currently only the BlackBerryContact.USER1 - BlackBerryContact.USER4 fields have settable labels.
field - The field for which to set a label.value - A string value representing the new label for the field.public boolean isFieldLabelSettable(int field)
field - The field to check.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.