org.icefaces.mobi.component.geolocation
public abstract class GeolocationBase extends javax.faces.component.UIComponentBase implements IGeolocation
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GeolocationBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
GeolocationBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getAltitude()
Return the value of the
altitude property. |
java.lang.Double |
getDirection()
Return the value of the
direction property. |
java.lang.String |
getEnableHighPrecision()
Return the value of the
enableHighPrecision property. |
java.lang.String |
getFamily() |
java.lang.Double |
getLatitude()
Return the value of the
latitude property. |
java.lang.Double |
getLongitude()
Return the value of the
longitude property. |
int |
getMaximumAge()
Return the value of the
maximumAge property. |
int |
getTimeout()
Return the value of the
timeout property. |
boolean |
isContinuousUpdates()
Return the value of the
continuousUpdates property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setAltitude(java.lang.Double altitude)
Set the value of the
altitude property. |
void |
setContinuousUpdates(boolean continuousUpdates)
Set the value of the
continuousUpdates property. |
void |
setDirection(java.lang.Double direction)
Set the value of the
direction property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setEnableHighPrecision(java.lang.String enableHighPrecision)
Set the value of the
enableHighPrecision property. |
void |
setLatitude(java.lang.Double latitude)
Set the value of the
latitude property. |
void |
setLongitude(java.lang.Double longitude)
Set the value of the
longitude property. |
void |
setMaximumAge(int maximumAge)
Set the value of the
maximumAge property. |
void |
setTimeout(int timeout)
Set the value of the
timeout property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
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, getPassThroughAttributes, 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, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void setAltitude(java.lang.Double altitude)
Set the value of the altitude property.
Contents: Altitude of mobile device in meters.
setAltitude in interface IGeolocationpublic java.lang.Double getAltitude()
Return the value of the altitude property.
Contents: Altitude of mobile device in meters.
getAltitude in interface IGeolocationpublic void setContinuousUpdates(boolean continuousUpdates)
Set the value of the continuousUpdates property.
Contents: Determines if the component will continuously update the position. If true, a listener is used to retrieve position from navigator.geolocation.watchPosition. If false, the component will fetch a one time update via navigator.gelocation.getCurrentPosition
setContinuousUpdates in interface IGeolocationpublic boolean isContinuousUpdates()
Return the value of the continuousUpdates property.
Contents: Determines if the component will continuously update the position. If true, a listener is used to retrieve position from navigator.geolocation.watchPosition. If false, the component will fetch a one time update via navigator.gelocation.getCurrentPosition Default = 'true'.
isContinuousUpdates in interface IGeolocationpublic void setDirection(java.lang.Double direction)
Set the value of the direction property.
Contents: Direction of mobile device in degrees from North.
setDirection in interface IGeolocationpublic java.lang.Double getDirection()
Return the value of the direction property.
Contents: Direction of mobile device in degrees from North.
getDirection in interface IGeolocationpublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted.
setDisabled in interface IGeolocationpublic boolean isDisabled()
Return the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted. Default = 'false'.
isDisabled in interface IGeolocationpublic void setEnableHighPrecision(java.lang.String enableHighPrecision)
Set the value of the enableHighPrecision property.
Contents: Determines if high precision location is retrieved using GPS. Has values of true, false, and asNeeded; where true means use GPS, false means don't use GPS, and asNeeded means use GPS only if needed to get a position.
setEnableHighPrecision in interface IGeolocationpublic java.lang.String getEnableHighPrecision()
Return the value of the enableHighPrecision property.
Contents: Determines if high precision location is retrieved using GPS. Has values of true, false, and asNeeded; where true means use GPS, false means don't use GPS, and asNeeded means use GPS only if needed to get a position. Default = 'asNeeded'.
getEnableHighPrecision in interface IGeolocationpublic void setLatitude(java.lang.Double latitude)
Set the value of the latitude property.
Contents: Latitude of mobile device in decimal degrees.
setLatitude in interface IGeolocationpublic java.lang.Double getLatitude()
Return the value of the latitude property.
Contents: Latitude of mobile device in decimal degrees.
getLatitude in interface IGeolocationpublic void setLongitude(java.lang.Double longitude)
Set the value of the longitude property.
Contents: Longitude of mobile device in decimal degrees.
setLongitude in interface IGeolocationpublic java.lang.Double getLongitude()
Return the value of the longitude property.
Contents: Longitude of mobile device in decimal degrees.
getLongitude in interface IGeolocationpublic void setMaximumAge(int maximumAge)
Set the value of the maximumAge property.
Contents: Indicates maximum age in seconds, of a cached position that is acceptable for use.
setMaximumAge in interface IGeolocationpublic int getMaximumAge()
Return the value of the maximumAge property.
Contents: Indicates maximum age in seconds, of a cached position that is acceptable for use. Default = '0'.
getMaximumAge in interface IGeolocationpublic void setTimeout(int timeout)
Set the value of the timeout property.
Contents: The maximum time in seconds to wait for success or error response. A value of 0 indicates no timeout.
setTimeout in interface IGeolocationpublic int getTimeout()
Return the value of the timeout property.
Contents: The maximum time in seconds to wait for success or error response. A value of 0 indicates no timeout. Default = '0'.
getTimeout in interface IGeolocationprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.