org.jboss.errai.common.client.dom.Span.setHidden()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(196)

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

Span.setHidden介绍

暂无

代码示例

代码示例来源:origin: dashbuilder/dashbuilder

@Override
public void setCommandsEnabled(boolean enabled) {
  itemMenuIcon.setHidden(!enabled);
  commandMenu.setHidden(!enabled);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-navigation-client

@Override
public void setCommandsEnabled(boolean enabled) {
  itemMenuIcon.setHidden(!enabled);
  commandMenu.setHidden(!enabled);
}

代码示例来源:origin: kiegroup/appformer

@Override
public void setCommandsEnabled(boolean enabled) {
  itemMenuIcon.setHidden(!enabled);
  commandMenu.setHidden(!enabled);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-navigation-client

@Override
public void setCommandsEnabled(boolean enabled) {
  itemMenuIcon.setHidden(!enabled);
  commandMenu.setHidden(!enabled);
}

代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-library-client

@Override
public void setup(final String label,
         final String description,
         final String circleLabel,
         final String circleDescription,
         final Command selectCommand) {
  this.label.setTextContent(label);
  this.description.setTextContent(description);
  this.description.setTitle(description);
  this.card.setOnclick(event -> selectCommand.execute());
  if (circleLabel != null) {
    this.circle.setTextContent(circleLabel);
    this.circle.setTitle(circleDescription);
  } else {
    this.circle.setHidden(true);
  }
}

代码示例来源:origin: org.jbpm/jbpm-wb-process-runtime-client

public void setTaskDetailsData(final TaskSummary model,
                Date logDate) {
  removeCSSClass(humanTaskContainer,
          "hidden");
  taskId.setTextContent(model.getId().toString());
  createdOn.setTextContent(DateUtils.getDateTimeStr(model.getCreatedOn()));
  if (model.getCreatedBy() != null && !model.getCreatedBy().isEmpty()) {
    createdBy.setTextContent(model.getCreatedBy());
  } else {
    createdByLabel.setHidden(true);
    createdBy.setHidden(true);
  }
  updatedOn.setTextContent(DateUtils.getDateTimeStr(logDate));
  taskStatus.setTextContent(new TaskStatusConverter().toWidgetValue(model.getTaskStatus()));
  if (model.getActualOwner() != null && !model.getActualOwner().isEmpty()) {
    actualOwner.setTextContent(model.getActualOwner());
  } else {
    actualOwner.setTextContent(constants.NotClaimed());
  }
  description.setTextContent(model.getDescription());
}

相关文章