List of usage examples for com.google.gwt.user.client.ui HorizontalPanel setSpacing
public void setSpacing(int spacing)
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getLayer2GroupTools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.setSpacing(5); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.add(searchAttributeTool); horizontalGroup.add(snappingTool);//from w w w . jav a 2 s .c o m horizontalGroup.add(geometricAnalysisTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getMeasureToolGroupTools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(measureAreaTool); horizontalGroup.add(measureTool);/*from ww w .j av a2s.c o m*/ horizontalGroup.add(measureElementTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getZoomToolGroupTools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(zoomPrev);/*from w w w . j a va 2s. co m*/ horizontalGroup.add(zoomNext); horizontalGroup.add(zoomBoxTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getZoomToolGroup2Tools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(zoomIn);/* ww w . j a va 2 s .c om*/ horizontalGroup.add(zoomOut); horizontalGroup.add(zoomToSeletionTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private Widget getSaveToolGroup1Tools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(saveLayerTool);/* w ww . ja v a2 s. c o m*/ horizontalGroup.add(exportLayerTool); //horizontalGroup.add(saveProjectTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getDrawToolGroup1Tools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(polygonTool);/* w w w .j a v a2 s .co m*/ horizontalGroup.add(holePolygonTool); horizontalGroup.add(regularPolygonTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getDrawToolGroup2Tools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(lineStringTool); horizontalGroup.add(pointTool);//from w w w.ja v a2s . c om horizontalGroup.add(circleTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getEditionToolGroup1Tools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(reshapeTool);/* w w w. ja va 2 s.c o m*/ horizontalGroup.add(resizeTool); horizontalGroup.add(rotateTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getEditionToolGroup2Tools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(dragTool);/*from w w w .j a v a 2 s . co m*/ horizontalGroup.add(deleteTool); horizontalGroup.add(copyElementTool); return horizontalGroup; }
From source file:org.geowe.client.local.main.MenuPanelWidget.java
License:Open Source License
private HorizontalPanel getSpatialToolGroup1Tools() { HorizontalPanel horizontalGroup = new HorizontalPanel(); horizontalGroup.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); horizontalGroup.setSpacing(5); horizontalGroup.add(unionTool);/*from www. j ava 2 s. c o m*/ horizontalGroup.add(divideTool); horizontalGroup.add(geometricValidationTool); return horizontalGroup; }