Class CmsLocationPopupContent
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opencms.gwt.client.ui.input.location.CmsLocationPopupContent
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
The location picker map view.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interface
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Field Summary
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
displayValues
(CmsLocationValue value) Displays the location value fields.protected com.google.gwt.dom.client.Element
Returns the map canvas element.protected void
setAddressVisible
(boolean visible) Sets the field visibility.protected void
setLatLngVisible
(boolean visible) Sets the field visibility.protected void
setMapVisible
(boolean visible) Sets the field visibility.protected void
setModeVisible
(boolean visible) Sets the field visibility.protected void
setSizeVisible
(boolean visible) Sets the field visibility.protected void
setTypeVisible
(boolean visible) Sets the field visibility.protected void
setZoomVisible
(boolean visible) Sets the field visibility.Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Constructor Details
-
CmsLocationPopupContent
public CmsLocationPopupContent(CmsLocationController controller, com.google.gwt.user.client.ui.SuggestOracle addressOracle, Map<String, String> modeItems, Map<String, String> typeItems, Map<String, String> zoomItems) Constructor.- Parameters:
controller
- the location controlleraddressOracle
- the address suggest oracle to use for the address suggest boxmodeItems
- the available map modestypeItems
- the available map typeszoomItems
- the available zoom levels
-
-
Method Details
-
displayValues
Displays the location value fields.- Parameters:
value
- the location value
-
getMapCanvas
Returns the map canvas element.- Returns:
- the map canvas element
-
setAddressVisible
Sets the field visibility.- Parameters:
visible
-true
to show the field
-
setLatLngVisible
Sets the field visibility.- Parameters:
visible
-true
to show the field
-
setMapVisible
Sets the field visibility.- Parameters:
visible
-true
to show the field
-
setModeVisible
Sets the field visibility.- Parameters:
visible
-true
to show the field
-
setSizeVisible
Sets the field visibility.- Parameters:
visible
-true
to show the field
-
setTypeVisible
Sets the field visibility.- Parameters:
visible
-true
to show the field
-
setZoomVisible
Sets the field visibility.- Parameters:
visible
-true
to show the field
-