All Implemented Interfaces:
IDynamicComponent, EventListener, EditableValueHolder, PartialStateHolder, StateHolder, TransientStateHolder, ValueHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder

public class GMap extends UIInput implements IDynamicComponent
Google map control. The data model for this input control is a GMapState object.
  • Field Details

  • Constructor Details

    • GMap

      public GMap()
  • Method Details

    • setValue

      public void setValue(Object value)
      Specified by:
      setValue in interface ValueHolder
      Overrides:
      setValue in class UIInput
    • updateModel

      public void updateModel(FacesContext context)
      Overrides:
      updateModel in class UIInput
    • getMapState

      public GMapState getMapState()
      Convenience cast of map value to GMapState. Returns null if map value not set.
    • handleUpdateModelException

      protected void handleUpdateModelException(FacesContext context, Exception e)
      Handle an exception in updateModel(FacesContext).
    • getHeight

      public String getHeight()
    • setHeight

      public void setHeight(String height)
    • getWidth

      public String getWidth()
    • setWidth

      public void setWidth(String width)
    • getLatitude

      public double getLatitude()
    • setLatitude

      public void setLatitude(double latitude)
    • getLongitude

      public double getLongitude()
    • setLongitude

      public void setLongitude(double longitude)
    • getInitialAddress

      public String getInitialAddress()
    • setInitialAddress

      public void setInitialAddress(String initialAddress)
    • getInitialCountry

      public String getInitialCountry()
    • setInitialCountry

      public void setInitialCountry(String initialCountry)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getZoom

      public int getZoom()
    • setZoom

      public void setZoom(int zoom)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • populateInitialComponents

      public void populateInitialComponents()
      Description copied from interface: IDynamicComponent
      Perform the initial programmatic manipulation of the component tree.
      Specified by:
      populateInitialComponents in interface IDynamicComponent