public CustomCountriesFeatureInfoCanvas(Feature feature) { setBackgroundColor("#BBFFBB"); l = new Label("<b>Custom DetailPanel for feature: </b>" + feature.getId()); l.setWidth(250); l.setPadding(10); addChild(l); }
private Label createCSVLabel() { Label toCSV = new Label(i18n.toCSV()); toCSV.setWrap(false); toCSV.setAutoFit(true); toCSV.setPadding(3); toCSV.setWidth100(); toCSV.setStyleName("n52_sensorweb_client_exportEntry"); toCSV.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { controller.exportTo(ExportType.CSV_ZIP); exportMenu.hide(); } }); return toCSV; }
private Label createPDFLabel() { Label toPDF = new Label(i18n.toPDF()); toPDF.setWrap(false); toPDF.setAutoFit(true); toPDF.setPadding(3); toPDF.setWidth100(); toPDF.setStyleName("n52_sensorweb_client_exportEntry"); toPDF.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { controller.exportTo(ExportType.PDF_ALL_IN_ONE); exportMenu.hide(); } }); return toPDF; }
public MultiFeatureListGrid(MapWidget map) { super(); this.map = map; tabset = new TabSet(); tabset.setWidth100(); tabset.setHeight100(); tabset.setOverflow(Overflow.HIDDEN); tabset.addCloseClickHandler(new CloseClickHandler() { public void onCloseClick(TabCloseClickEvent event) { setEmpty((tabset.getTabs().length == 1)); } }); this.addChild(tabset); empty = new Label(MESSAGES.multiFeatureListGridNoData()); empty.setWidth100(); empty.setAlign(Alignment.CENTER); empty.setPadding(15); this.addChild(empty); }
public WmsPreviewLayerStep(Wizard parent) { super(NewLayerModelWizardWindow.STEP_WMS_PREVIEW_LAYER, MESSAGES.wmsPreviewLayerStepNumbering() + " " + MESSAGES.wmsPreviewLayerStepTitle(), false, parent); setWindowTitle(MESSAGES.wmsPreviewLayerStepTitle()); img = new Img(); img.setWidth(300); img.setHeight(200); img.setImageType(ImageStyle.CENTER); img.setLayoutAlign(VerticalAlignment.CENTER); addMember(img); warnings = new Label(); warnings.setWidth100(); warnings.setAutoHeight(); warnings.setPadding(3); warnings.setOverflow(Overflow.VISIBLE); warnings.setVisible(false); warnings.setBackgroundColor("#FFCCCC"); addMember(warnings); }
root.addMember(form); Label l = new Label("<b>" + MESSAGES.editLayerSettingsStepVisibleArea() + " : </b>"); l.setPadding(10); l.setWidth100(); l.setAutoHeight();
titleBar.setWidth100(); titleBar.setHeight(20); titleBar.setPadding(5);
titleBar.setWidth100(); titleBar.setHeight(20); titleBar.setPadding(5); noSelection.setWidth100(); noSelection.setAlign(Alignment.CENTER); noSelection.setPadding(5); noSelection.setTooltip(messages.geometricSearchWidgetSelectionSearchNothingSelectedTooltip());
warnings.setWidth100(); warnings.setAutoHeight(); warnings.setPadding(3); warnings.setOverflow(Overflow.VISIBLE); warnings.setVisible(false);
warnings.setWidth100(); warnings.setAutoHeight(); warnings.setPadding(3); warnings.setOverflow(Overflow.VISIBLE); warnings.setVisible(false);
warnings.setWidth100(); warnings.setAutoHeight(); warnings.setPadding(3); warnings.setOverflow(Overflow.VISIBLE); warnings.setVisible(false);