public class GMap extends UIInput implements IDynamicComponent
GMapState
object.Modifier and Type | Field and Description |
---|---|
static String |
MAP_TYPE_HYBRID |
static String |
MAP_TYPE_NORMAL |
static String |
MAP_TYPE_SATELLITE |
static Set<String> |
MAP_TYPES |
static String |
TYPE |
protected static Integer |
ZERO |
protected static Double |
ZERO_POINT_ZERO |
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
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 and Description |
---|
GMap() |
Modifier and Type | Method and Description |
---|---|
String |
getHeight() |
String |
getInitialAddress() |
String |
getInitialCountry() |
String |
getKey() |
double |
getLatitude() |
double |
getLongitude() |
GMapState |
getMapState()
Convenience cast of map value to
GMapState . |
String |
getType() |
String |
getWidth() |
int |
getZoom() |
protected void |
handleUpdateModelException(FacesContext context,
Exception e)
Handle an exception in
updateModel(FacesContext) . |
void |
populateInitialComponents()
Perform the initial programmatic manipulation of the component
tree.
|
void |
setHeight(String height) |
void |
setInitialAddress(String initialAddress) |
void |
setInitialCountry(String initialCountry) |
void |
setKey(String key) |
void |
setLatitude(double latitude) |
void |
setLongitude(double longitude) |
void |
setType(String type) |
void |
setValue(Object value) |
void |
setWidth(String width) |
void |
setZoom(int zoom) |
void |
updateModel(FacesContext context) |
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValueChangeListener, validate, validateValue
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, broadcast, 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, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getLocalValue, setConverter
public static final String TYPE
public static final String MAP_TYPE_NORMAL
public static final String MAP_TYPE_SATELLITE
public static final String MAP_TYPE_HYBRID
protected static final Integer ZERO
protected static final Double ZERO_POINT_ZERO
public void setValue(Object value)
setValue
in interface ValueHolder
setValue
in class UIInput
public void updateModel(FacesContext context)
updateModel
in class UIInput
public GMapState getMapState()
GMapState
.
Returns null if map value not set.protected void handleUpdateModelException(FacesContext context, Exception e)
updateModel(FacesContext)
.public String getHeight()
public void setHeight(String height)
public String getWidth()
public void setWidth(String width)
public double getLatitude()
public void setLatitude(double latitude)
public double getLongitude()
public void setLongitude(double longitude)
public String getInitialAddress()
public void setInitialAddress(String initialAddress)
public String getInitialCountry()
public void setInitialCountry(String initialCountry)
public String getType()
public void setType(String type)
public int getZoom()
public void setZoom(int zoom)
public String getKey()
public void setKey(String key)
public void populateInitialComponents()
IDynamicComponent
populateInitialComponents
in interface IDynamicComponent