|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
org.icefaces.ace.component.gmap.GMapAutocompleteBase
public class GMapAutocompleteBase
An Icesoft implementation of Google's Places autocomplete tool. The ace:gMapAutocomplete component will create a text box which will provide locations that match the currently typed string, then return information about the selected location such as the types Google has assigned to it, or the url to Google's information page on it. For more information, see the gMap Wiki Documentation.
| Nested Class Summary | |
|---|---|
protected static class |
GMapAutocompleteBase.PropertyKeys
|
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UIPanel |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
| Constructor Summary | |
|---|---|
GMapAutocompleteBase()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAddress()
Return the value of the address property. |
java.lang.String |
getFamily()
|
java.lang.String |
getLatLng()
Return the value of the latLng property. |
java.lang.String |
getOffset()
Return the value of the offset property. |
java.lang.String |
getSize()
Return the value of the size property. |
java.lang.String |
getStyle()
Return the value of the style property. |
java.lang.String |
getTypes()
Return the value of the types property. |
java.lang.String |
getUrl()
Return the value of the url property. |
java.lang.String |
getWindowOptions()
Return the value of the windowOptions property. |
boolean |
isWindow()
Return the value of the window property. |
void |
setAddress(java.lang.String address)
Set the value of the address property. |
void |
setLatLng(java.lang.String latLng)
Set the value of the latLng property. |
void |
setOffset(java.lang.String offset)
Set the value of the offset property. |
void |
setSize(java.lang.String size)
Set the value of the size property. |
void |
setStyle(java.lang.String style)
Set the value of the style property. |
void |
setTypes(java.lang.String types)
Set the value of the types property. |
void |
setUrl(java.lang.String url)
Set the value of the url property. |
void |
setWindow(boolean window)
Set the value of the window property. |
void |
setWindowOptions(java.lang.String windowOptions)
Set the value of the windowOptions property. |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
| Constructor Detail |
|---|
public GMapAutocompleteBase()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIPanelpublic void setAddress(java.lang.String address)
Set the value of the address property.
Contents: The backing bean property to store the text value of the address selected by gMapAutocomplete.
setAddress in interface IGMapAutocompletepublic java.lang.String getAddress()
Return the value of the address property.
Contents: The backing bean property to store the text value of the address selected by gMapAutocomplete.
getAddress in interface IGMapAutocompletepublic void setLatLng(java.lang.String latLng)
Set the value of the latLng property.
Contents: The backing bean property to store the lat/lng coordinates of the address selected by gMapAutocomplete. Format: "(0.000000,0.000000)".
setLatLng in interface IGMapAutocompletepublic java.lang.String getLatLng()
Return the value of the latLng property.
Contents: The backing bean property to store the lat/lng coordinates of the address selected by gMapAutocomplete. Format: "(0.000000,0.000000)".
getLatLng in interface IGMapAutocompletepublic void setOffset(java.lang.String offset)
Set the value of the offset property.
Contents: Value to shift the map after finding new location, in pixels. (useful for mobile devices) Form is x,y.
setOffset in interface IGMapAutocompletepublic java.lang.String getOffset()
Return the value of the offset property.
Contents: Value to shift the map after finding new location, in pixels. (useful for mobile devices) Form is x,y. Default = '0,0'.
getOffset in interface IGMapAutocompletepublic void setSize(java.lang.String size)
Set the value of the size property.
Contents: Desired size of the input box.
setSize in interface IGMapAutocompletepublic java.lang.String getSize()
Return the value of the size property.
Contents: Desired size of the input box. Default = '30'.
getSize in interface IGMapAutocompletepublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Styling options to be sent to the autocomplete box.
setStyle in interface IGMapAutocompletepublic java.lang.String getStyle()
Return the value of the style property.
Contents: Styling options to be sent to the autocomplete box.
getStyle in interface IGMapAutocompletepublic void setTypes(java.lang.String types)
Set the value of the types property.
Contents: The backing bean property to store the array of types that Google determines match the address selected by gMapAutocomplete.
setTypes in interface IGMapAutocompletepublic java.lang.String getTypes()
Return the value of the types property.
Contents: The backing bean property to store the array of types that Google determines match the address selected by gMapAutocomplete.
getTypes in interface IGMapAutocompletepublic void setUrl(java.lang.String url)
Set the value of the url property.
Contents: The backing bean property to store the url attributed to the address selected by gMapAutocomplete.
setUrl in interface IGMapAutocompletepublic java.lang.String getUrl()
Return the value of the url property.
Contents: The backing bean property to store the url attributed to the address selected by gMapAutocomplete. Default = 'https://maps.google.com/maps/place'.
getUrl in interface IGMapAutocompletepublic void setWindow(boolean window)
Set the value of the window property.
Contents: Determine whether or not to display an Info Window with information on the selected point.
setWindow in interface IGMapAutocompletepublic boolean isWindow()
Return the value of the window property.
Contents: Determine whether or not to display an Info Window with information on the selected point. Default = 'true'.
isWindow in interface IGMapAutocompletepublic void setWindowOptions(java.lang.String windowOptions)
Set the value of the windowOptions property.
Contents: Additional options to be sent to the info window displayed. Check google maps API for more specifics at https://developers.google.com/maps/documentation/javascript/reference#AutocompleteOptions. Form is attribute:'value'.
setWindowOptions in interface IGMapAutocompletepublic java.lang.String getWindowOptions()
Return the value of the windowOptions property.
Contents: Additional options to be sent to the info window displayed. Check google maps API for more specifics at https://developers.google.com/maps/documentation/javascript/reference#AutocompleteOptions. Form is attribute:'value'. Default = 'none'.
getWindowOptions in interface IGMapAutocomplete
|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||