|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.ui.Field
net.rim.device.api.ui.ScrollView
net.rim.device.api.ui.Manager
net.rim.device.api.ui.Screen
net.rim.device.api.ui.container.PopupScreen
net.rim.device.api.lbs.picker.AbstractLocationPicker
net.rim.device.api.lbs.picker.ContactsLocationPicker
public class ContactsLocationPicker
The ContactsLocationPicker provides the ability for a user to select an address from their Contacts. The location selected may optionally be validated by geocoding the address. If the address cannot be geocoded the user will be prompted to update or accept the unvalidated address.
Field Summary |
---|
Fields inherited from class net.rim.device.api.lbs.picker.AbstractLocationPicker |
---|
CANCEL, CLOSE |
Fields inherited from class net.rim.device.api.ui.Screen |
---|
DEFAULT_CLOSE, DEFAULT_MENU, NO_SYSTEM_MENU_ITEMS |
Fields inherited from class net.rim.device.api.ui.Manager |
---|
BOTTOMMOST, DOWNWARD, HORIZONTAL_SCROLL, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_MASK, HORIZONTAL_SCROLL_MASK, LEAVE_BLANK_SPACE, LEFTMOST, LEFTWARD, NO_HORIZONTAL_SCROLL, NO_HORIZONTAL_SCROLLBAR, NO_SCROLL_RESET, NO_VERTICAL_SCROLL, NO_VERTICAL_SCROLLBAR, QUANTA_FONT, RIGHTMOST, RIGHTWARD, TOPMOST, UPWARD, VERTICAL_SCROLL, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_MASK, VERTICAL_SCROLL_MASK |
Fields inherited from interface net.rim.device.api.ui.FieldChangeListener |
---|
PROGRAMMATIC |
Constructor Summary | ||
---|---|---|
|
protected |
ContactsLocationPicker(Manager delegate,
boolean geocode)
Construct a ContactsLocationPicker |
Method Summary | ||
---|---|---|
|
static ContactsLocationPicker |
getInstance(boolean geocode)
Get an instance of the "From Contacts..." |
Methods inherited from class net.rim.device.api.lbs.picker.AbstractLocationPicker |
---|
cancelPickLocation, closePicker, doModal, fieldChanged, getLocation, getLocationPickerName, isLocationPersistable, pickLocation, setLocation |
Methods inherited from class net.rim.device.api.ui.container.PopupScreen |
---|
paint, sublayout |
Methods inherited from class net.rim.device.api.ui.Manager |
---|
addAll, deleteAll, getHorizontalScroll, getPreferredHeightOfChild, getPreferredWidthOfChild, getVerticalScroll, getVirtualHeight, getVirtualWidth, insertAll, invalidateFieldRange, isDownArrowShown, isUpArrowShown, isValidLayout, layout, layoutChild, moveFocus, moveFocus, nextFocus, nextFocus, paintChild, setFocus, setPositionChild, setScrollingInertial, setVirtualExtent, subpaint |
Methods inherited from class net.rim.device.api.ui.ScrollView |
---|
configurationChanged, getHorizontalAdjustment, getVerticalAdjustment, getVisibleHeight, getVisibleWidth, setCurrentLocation, setExtent, setHorizontalAdjustment, setHorizontalScroll, setHorizontalScroll, setScrollListener, setVerticalAdjustment, setVerticalScroll, setVerticalScroll, valueChanged, waitForScrolling |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ContactsLocationPicker(Manager delegate, boolean geocode)
delegate
- Manager this screen uses as a layout delegate.geocode
- the location. If set to true and the response cannot be geocoded the user will be prompted
to update the location, or continue with the location without an geocoded information.
ControlledAccessException
- If the application does not have PERMISSION_ORGANIZER_DATA permission
ControlledAccessException
- If the application does not have PERMISSION_LOCATION_DATA permission and geocode = true
Method Detail |
---|
public static ContactsLocationPicker getInstance(boolean geocode)
geocode
- validate the address by requesting associated coordinates
ControlledAccessException
- If the application does not have PERMISSION_ORGANIZER_DATA permission
ControlledAccessException
- If the application does not have PERMISSION_LOCATION_DATA permission and geocode = true
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.