com.smartgwt.client.widgets.Label.setOverflow()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(139)

本文整理了Java中com.smartgwt.client.widgets.Label.setOverflow()方法的一些代码示例,展示了Label.setOverflow()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.setOverflow()方法的具体详情如下:
包路径:com.smartgwt.client.widgets.Label
类名称:Label
方法名:setOverflow

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");

相关文章