org.primefaces.component.gmap
Class GMap

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.primefaces.component.gmap.GMap
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Widget

public class GMap
extends javax.faces.component.UIComponentBase
implements Widget, javax.faces.component.behavior.ClientBehaviorHolder


Nested Class Summary
protected static class GMap.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
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
GMap()
           
 
Method Summary
 String getCenter()
           
 Collection<String> getEventNames()
           
protected  javax.faces.context.FacesContext getFacesContext()
           
 String getFamily()
           
 GMapInfoWindow getInfoWindow()
           
 MapModel getModel()
           
 String getOnPointClick()
           
 String getStyle()
           
 String getStyleClass()
           
 String getType()
           
 String getWidgetVar()
           
 int getZoom()
           
 void handleAttribute(String name, Object value)
           
 boolean isDisableDefaultUI()
           
 boolean isDisableDoubleClickZoom()
           
 boolean isDraggable()
           
 boolean isFitBounds()
           
 boolean isMapTypeControl()
           
 boolean isNavigationControl()
           
 boolean isStreetView()
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
 String resolveWidgetVar()
           
 void setCenter(String _center)
           
 void setDisableDefaultUI(boolean _disableDefaultUI)
           
 void setDisableDoubleClickZoom(boolean _disableDoubleClickZoom)
           
 void setDraggable(boolean _draggable)
           
 void setFitBounds(boolean _fitBounds)
           
 void setMapTypeControl(boolean _mapTypeControl)
           
 void setModel(MapModel _model)
           
 void setNavigationControl(boolean _navigationControl)
           
 void setOnPointClick(String _onPointClick)
           
 void setStreetView(boolean _streetView)
           
 void setStyle(String _style)
           
 void setStyleClass(String _styleClass)
           
 void setType(String _type)
           
 void setWidgetVar(String _widgetVar)
           
 void setZoom(int _zoom)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, 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
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

GMap

public GMap()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getWidgetVar

public String getWidgetVar()

setWidgetVar

public void setWidgetVar(String _widgetVar)

getModel

public MapModel getModel()

setModel

public void setModel(MapModel _model)

getStyle

public String getStyle()

setStyle

public void setStyle(String _style)

getStyleClass

public String getStyleClass()

setStyleClass

public void setStyleClass(String _styleClass)

getType

public String getType()

setType

public void setType(String _type)

getCenter

public String getCenter()

setCenter

public void setCenter(String _center)

getZoom

public int getZoom()

setZoom

public void setZoom(int _zoom)

isStreetView

public boolean isStreetView()

setStreetView

public void setStreetView(boolean _streetView)

isDisableDefaultUI

public boolean isDisableDefaultUI()

setDisableDefaultUI

public void setDisableDefaultUI(boolean _disableDefaultUI)

isNavigationControl

public boolean isNavigationControl()

setNavigationControl

public void setNavigationControl(boolean _navigationControl)

isMapTypeControl

public boolean isMapTypeControl()

setMapTypeControl

public void setMapTypeControl(boolean _mapTypeControl)

isDraggable

public boolean isDraggable()

setDraggable

public void setDraggable(boolean _draggable)

isDisableDoubleClickZoom

public boolean isDisableDoubleClickZoom()

setDisableDoubleClickZoom

public void setDisableDoubleClickZoom(boolean _disableDoubleClickZoom)

getOnPointClick

public String getOnPointClick()

setOnPointClick

public void setOnPointClick(String _onPointClick)

isFitBounds

public boolean isFitBounds()

setFitBounds

public void setFitBounds(boolean _fitBounds)

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
Overrides:
queueEvent in class javax.faces.component.UIComponentBase

getInfoWindow

public GMapInfoWindow getInfoWindow()

getEventNames

public Collection<String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class javax.faces.component.UIComponentBase

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()
Overrides:
getFacesContext in class javax.faces.component.UIComponentBase

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget

handleAttribute

public void handleAttribute(String name,
                            Object value)


Copyright © 2013. All Rights Reserved.