|
ICEfaces ACE Components 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.GMapBase
public class GMapBase
The base component for the ACE gMap (Google Maps API) set of components. This component is how to define and control the map proper, as well as serving as a parent for the other gMap subcomponents. Important note: To function properly, you must define the property 'org.icefaces.ace.gmapKey' in your web.xml. You can get an API key at http://code.google.com/apis/maps/signup.html. For more information, see the gMap Wiki Documentation.
Nested Class Summary | |
---|---|
protected static class |
GMapBase.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 | |
---|---|
GMapBase()
|
Method Summary | |
---|---|
java.lang.String |
getAddress()
Return the value of the address property. |
java.lang.String |
getFamily()
|
java.lang.String |
getLatitude()
Return the value of the latitude property. |
java.lang.String |
getLongitude()
Return the value of the longitude property. |
java.lang.String |
getOldLatitude()
Return the value of the oldLatitude property. |
java.lang.String |
getOldLongitude()
Return the value of the oldLongitude property. |
java.lang.String |
getOldType()
Return the value of the oldType property. |
java.lang.String |
getOldZoomLevel()
Return the value of the oldZoomLevel property. |
java.lang.String |
getOptions()
Return the value of the options property. |
java.lang.String |
getStyle()
Return the value of the style property. |
java.lang.String |
getStyleClass()
Return the value of the styleClass property. |
java.lang.String |
getType()
Return the value of the type property. |
java.lang.String |
getZoomLevel()
Return the value of the zoomLevel property. |
boolean |
isIntialized()
Return the value of the intialized property. |
boolean |
isLocateAddress()
Return the value of the locateAddress property. |
void |
setAddress(java.lang.String address)
Set the value of the address property. |
void |
setIntialized(boolean intialized)
Set the value of the intialized property. |
void |
setLatitude(java.lang.String latitude)
Set the value of the latitude property. |
void |
setLocateAddress(boolean locateAddress)
Set the value of the locateAddress property. |
void |
setLongitude(java.lang.String longitude)
Set the value of the longitude property. |
void |
setOldLatitude(java.lang.String oldLatitude)
Set the value of the oldLatitude property. |
void |
setOldLongitude(java.lang.String oldLongitude)
Set the value of the oldLongitude property. |
void |
setOldType(java.lang.String oldType)
Set the value of the oldType property. |
void |
setOldZoomLevel(java.lang.String oldZoomLevel)
Set the value of the oldZoomLevel property. |
void |
setOptions(java.lang.String options)
Set the value of the options property. |
void |
setStyle(java.lang.String style)
Set the value of the style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property. |
void |
setType(java.lang.String type)
Set the value of the type property. |
void |
setZoomLevel(java.lang.String zoomLevel)
Set the value of the zoomLevel 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 GMapBase()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIPanel
public void setAddress(java.lang.String address)
Set the value of the address
property.
Contents: Address to locate.
setAddress
in interface IGMap
public java.lang.String getAddress()
Return the value of the address
property.
Contents: Address to locate.
getAddress
in interface IGMap
public void setIntialized(boolean intialized)
Set the value of the intialized
property.
Contents: Specifies whether the map has been initialized or not.
setIntialized
in interface IGMap
public boolean isIntialized()
Return the value of the intialized
property.
Contents: Specifies whether the map has been initialized or not. Default = 'false'.
isIntialized
in interface IGMap
public void setLatitude(java.lang.String latitude)
Set the value of the latitude
property.
Contents: The starting latitude for the map. Will be overridden if an address is provided.
setLatitude
in interface IGMap
public java.lang.String getLatitude()
Return the value of the latitude
property.
Contents: The starting latitude for the map. Will be overridden if an address is provided. Default = '51.06757388616548'.
getLatitude
in interface IGMap
public void setLocateAddress(boolean locateAddress)
Set the value of the locateAddress
property.
Contents: Whether the map should be locating the specified address. Default is false.
setLocateAddress
in interface IGMap
public boolean isLocateAddress()
Return the value of the locateAddress
property.
Contents: Whether the map should be locating the specified address. Default is false. Default = 'false'.
isLocateAddress
in interface IGMap
public void setLongitude(java.lang.String longitude)
Set the value of the longitude
property.
Contents: The starting longitude for the map. Will be overridden if an address is provided.
setLongitude
in interface IGMap
public java.lang.String getLongitude()
Return the value of the longitude
property.
Contents: The starting longitude for the map. Will be overridden if an address is provided. Default = '-114.08538937568665'.
getLongitude
in interface IGMap
public void setOptions(java.lang.String options)
Set the value of the options
property.
Contents: Additional options to be sent to the map. Check google maps API at https://developers.google.com/maps/documentation/javascript/reference#MapOptions for more specifics. Form is attribute:'value'.
setOptions
in interface IGMap
public java.lang.String getOptions()
Return the value of the options
property.
Contents: Additional options to be sent to the map. Check google maps API at https://developers.google.com/maps/documentation/javascript/reference#MapOptions for more specifics. Form is attribute:'value'.
getOptions
in interface IGMap
public void setStyle(java.lang.String style)
Set the value of the style
property.
Contents: Styling for the main gMap div.
setStyle
in interface IGMap
public java.lang.String getStyle()
Return the value of the style
property.
Contents: Styling for the main gMap div.
getStyle
in interface IGMap
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass
property.
Contents: The classname for the main gMap div.
setStyleClass
in interface IGMap
public java.lang.String getStyleClass()
Return the value of the styleClass
property.
Contents: The classname for the main gMap div.
getStyleClass
in interface IGMap
public void setType(java.lang.String type)
Set the value of the type
property.
Contents: Map type to display by default. Possible values are 'HYBRID', 'ROADMAP', 'SATELLITE' and 'TERRAIN', case insensitive.
setType
in interface IGMap
public java.lang.String getType()
Return the value of the type
property.
Contents: Map type to display by default. Possible values are 'HYBRID', 'ROADMAP', 'SATELLITE' and 'TERRAIN', case insensitive. Default = 'ROADMAP'.
getType
in interface IGMap
public void setZoomLevel(java.lang.String zoomLevel)
Set the value of the zoomLevel
property.
Contents: Starting zoom of the map element.
setZoomLevel
in interface IGMap
public java.lang.String getZoomLevel()
Return the value of the zoomLevel
property.
Contents: Starting zoom of the map element. Default = '5'.
getZoomLevel
in interface IGMap
public void setOldLatitude(java.lang.String oldLatitude)
Set the value of the oldLatitude
property.
setOldLatitude
in interface IGMap
public java.lang.String getOldLatitude()
Return the value of the oldLatitude
property.
getOldLatitude
in interface IGMap
public void setOldLongitude(java.lang.String oldLongitude)
Set the value of the oldLongitude
property.
setOldLongitude
in interface IGMap
public java.lang.String getOldLongitude()
Return the value of the oldLongitude
property.
getOldLongitude
in interface IGMap
public void setOldType(java.lang.String oldType)
Set the value of the oldType
property.
setOldType
in interface IGMap
public java.lang.String getOldType()
Return the value of the oldType
property.
getOldType
in interface IGMap
public void setOldZoomLevel(java.lang.String oldZoomLevel)
Set the value of the oldZoomLevel
property.
setOldZoomLevel
in interface IGMap
public java.lang.String getOldZoomLevel()
Return the value of the oldZoomLevel
property.
getOldZoomLevel
in interface IGMap
|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |