本文整理了Java中com.smartgwt.client.widgets.Label.setOverflow()
方法的一些代码示例,展示了Label.setOverflow()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.setOverflow()
方法的具体详情如下:
包路径:com.smartgwt.client.widgets.Label
类名称:Label
方法名:setOverflow
暂无
代码示例来源:origin: com.github.livesense/org.liveSense.jcr.explorer
Label navigationLabel = new Label();
navigationLabel.setAlign(Alignment.CENTER);
navigationLabel.setOverflow(Overflow.HIDDEN);
navigationLabel.setWidth("40%");
navigationLabel.setShowResizeBar(true);
Label topRightLabel = new Label();
topRightLabel.setAlign(Alignment.CENTER);
topRightLabel.setOverflow(Overflow.HIDDEN);
topRightLabel.setHeight("185");
topRightLabel.setShowResizeBar(true);
bottonRightLabel.setOverflow(Overflow.HIDDEN);
bottonRightLabel.setHeight("100%");
代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt
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);
}
代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt
warnings.setAutoHeight();
warnings.setPadding(3);
warnings.setOverflow(Overflow.VISIBLE);
warnings.setVisible(false);
warnings.setBackgroundColor("#FFCCCC");
代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt
warnings.setAutoHeight();
warnings.setPadding(3);
warnings.setOverflow(Overflow.VISIBLE);
warnings.setVisible(false);
warnings.setBackgroundColor("#FFCCCC");
代码示例来源:origin: org.n52.sensorweb/sensorwebclient-ui
this.titleLabel.setWidth100();
this.titleLabel.setStyleName("n52_sensorweb_client_legendEntryTitle");
this.titleLabel.setOverflow(Overflow.HIDDEN);
this.titleLabel.setCursor(Cursor.POINTER);
this.titleLabel.addClickHandler(new ClickHandler() {
代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt
warnings.setAutoHeight();
warnings.setPadding(3);
warnings.setOverflow(Overflow.VISIBLE);
warnings.setVisible(false);
warnings.setBackgroundColor("#FFCCCC");
内容来源于网络,如有侵权,请联系作者删除!