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

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

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

Label.setBackgroundColor介绍

暂无

代码示例

代码示例来源:origin: org.geomajas.widget/geomajas-widget-advancedviews-gwt

desc.setBackgroundColor("transparent");
desc.setWidth100();
desc.setHeight100();
desc.setBackgroundColor("transparent");
desc.setValign(VerticalAlignment.CENTER);
addMember(desc);

代码示例来源: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.widget/geomajas-widget-searchandfilter-gwt

titleBar.setBackgroundColor("#E0E9FF");
titleBar.setWidth100();
titleBar.setHeight(20);

代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt

warnings.setOverflow(Overflow.VISIBLE);
warnings.setVisible(false);
warnings.setBackgroundColor("#FFCCCC");

代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt

warnings.setOverflow(Overflow.VISIBLE);
warnings.setVisible(false);
warnings.setBackgroundColor("#FFCCCC");

代码示例来源:origin: org.geomajas.widget/geomajas-widget-searchandfilter-gwt

titleBar.setBackgroundColor("#E0E9FF");
titleBar.setWidth100();
titleBar.setHeight(20);

代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt

warnings.setOverflow(Overflow.VISIBLE);
warnings.setVisible(false);
warnings.setBackgroundColor("#FFCCCC");

相关文章