Geomajas, geocoder (PureGWT face) 1.4.0-M1

org.geomajas.plugin.geocoder.client
Class AlternativesPanel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by com.google.gwt.user.client.ui.PopupPanel
                      extended by org.geomajas.plugin.geocoder.client.AlternativesPanel
All Implemented Interfaces:
HasAttachHandlers, HasCloseHandlers<PopupPanel>, EventHandler, HasHandlers, EventListener, EventPreview, AcceptsOneWidget, HasAnimation, HasOneWidget, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IsWidget, SourcesPopupEvents, Iterable<Widget>, SelectAlternativeHandler

public class AlternativesPanel
extends PopupPanel
implements SelectAlternativeHandler

A PopupPanel extension for the GetLocationForStringAlternatives given by a SelectAlternativeEvent.

Author:
Emiel Ackermann

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
PopupPanel.PositionCallback
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Fields inherited from interface org.geomajas.plugin.geocoder.client.event.SelectAlternativeHandler
TYPE
 
Constructor Summary
AlternativesPanel(GeocoderTextBox box)
          Main constructor.
 
Method Summary
 void onSelectAlternative(SelectAlternativeEvent event)
          Called when the geocoder returned multiple alternatives, purpose is to allow the user to select one.
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, show, showRelativeTo
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, clear, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

AlternativesPanel

public AlternativesPanel(GeocoderTextBox box)
Main constructor.

Parameters:
box - the GeocoderTextBox that could give alternatives
Method Detail

onSelectAlternative

public void onSelectAlternative(SelectAlternativeEvent event)
Description copied from interface: SelectAlternativeHandler
Called when the geocoder returned multiple alternatives, purpose is to allow the user to select one.

Specified by:
onSelectAlternative in interface SelectAlternativeHandler
Parameters:
event - event, contains the list of alternatives

Geomajas, geocoder (PureGWT face) 1.4.0-M1

Copyright © 2013 Geosparc. All Rights Reserved.