|
|||||||||
| 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.
| Field Summary |
| Fields inherited from interface javax.microedition.pim.PIMList |
UNCATEGORIZED |
| Method Summary | ||
|
void |
addListener(PIMListListener listener)
Adds a PIM list listener to this PIM list. |
|
boolean |
isFieldLabelSettable(int field)
Determines whether or not a field label can be set. |
|
void |
removeListener(PIMListListener listener)
Removes a PIM list listener from this PIM list. |
|
void |
setFieldLabel(int field,
String value)
Sets a label for a given field. |
| Methods inherited from interface javax.microedition.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, stringArraySize |
| Method Detail |
public void addListener(PIMListListener listener)
Note that the listener will remain associated with the native device
database even after the correspoding PIM list has been
deleted. To remove the listener use removeListener(net.rim.blackberry.api.pdap.PIMListListener).
method.
listener - PIM list listener to add.public boolean isFieldLabelSettable(int field)
field - Field to check.public void removeListener(PIMListListener listener)
listener - PIM list listener 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
isFieldLabelSettable(int) method to determine if the field label is
settable for this field.
Currently only the BlackBerryContact.USER1 through
BlackBerryContact.USER4 fields have settable labels.
field - Field for which to set a label.value - String value representing the new label for the field.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2007 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.