Class GeoJsonAreaSelectionDialog
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.SimplePanel
-
- com.google.gwt.user.client.ui.PopupPanel
-
- com.google.gwt.user.client.ui.DecoratedPopupPanel
-
- com.google.gwt.user.client.ui.DialogBox
-
- org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.AreaSelectionDialog
-
- org.gcube.portlets.widgets.ckandatapublisherwidget.client.openlayerwidget.GeoJsonAreaSelectionDialog
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>,com.google.gwt.event.shared.HasHandlers,com.google.gwt.safehtml.client.HasSafeHtml,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.EventPreview,com.google.gwt.user.client.ui.AcceptsOneWidget,com.google.gwt.user.client.ui.HasAnimation,com.google.gwt.user.client.ui.HasHTML,com.google.gwt.user.client.ui.HasOneWidget,com.google.gwt.user.client.ui.HasText,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.HasWidgets,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget,com.google.gwt.user.client.ui.IsWidget,com.google.gwt.user.client.ui.MouseListener,com.google.gwt.user.client.ui.SourcesPopupEvents,Iterable<com.google.gwt.user.client.ui.Widget>,EventListener,org.gcube.portlets.widgets.openlayerbasicwidgets.client.event.SelectAreaDialogEvent.HasSelectAreaDialogEventHandler
public class GeoJsonAreaSelectionDialog extends org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.AreaSelectionDialogThe Class GeoJsonAreaSelectionDialog.- Author:
- Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Feb 20, 2019
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.DialogBox
com.google.gwt.user.client.ui.DialogBox.Caption, com.google.gwt.user.client.ui.DialogBox.CaptionImpl
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
-
-
Constructor Summary
Constructors Constructor Description GeoJsonAreaSelectionDialog(org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.GeometryType geometry)Instantiates a new geo json area selection dialog.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfireCommandOnResponse(com.google.gwt.user.client.Command command)Fire command on response.static com.github.gwtbootstrap.client.ui.ListBoxgetGeometries()Gets the geometries.StringgetWktArea()Gets the wkt area.StringgetWKTToGeoJSON()Gets the WKT to geo json.static Stringprint(String txt)Prints the.static org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.GeometryTypetoGeometry(String name)To geometry.StringwktToGeoJSON(String wktTxt)Wkt to geo json.-
Methods inherited from class org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.AreaSelectionDialog
addSelectAreaDialogEventHandler, getZIndex, hide, onPreviewNativeEvent, setWktGeometry, setZIndex, show
-
Methods inherited from class com.google.gwt.user.client.ui.DialogBox
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, hide, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, setHTML, setHTML, setText
-
Methods inherited from class com.google.gwt.user.client.ui.DecoratedPopupPanel
clear, getCellElement, getWidget, iterator, remove, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
fireCommandOnResponse
public void fireCommandOnResponse(com.google.gwt.user.client.Command command)
Fire command on response.- Parameters:
command- the command
-
print
public static String print(String txt)
Prints the.- Parameters:
txt- the txt- Returns:
- the string
-
wktToGeoJSON
public String wktToGeoJSON(String wktTxt) throws Exception
Wkt to geo json.- Parameters:
wktTxt- the wkt txt- Returns:
- the string
- Throws:
Exception- the exception
-
getWKTToGeoJSON
public String getWKTToGeoJSON() throws Exception
Gets the WKT to geo json.- Returns:
- the WKT to geo json
- Throws:
Exception- the exception
-
getWktArea
public String getWktArea()
Gets the wkt area.- Returns:
- the wktArea
-
getGeometries
public static com.github.gwtbootstrap.client.ui.ListBox getGeometries()
Gets the geometries.- Returns:
- the geometries
-
toGeometry
public static org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.GeometryType toGeometry(String name)
To geometry.- Parameters:
name- the name- Returns:
- the geometry type
-
-