本文整理了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
暂无
代码示例来源: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());
}
内容来源于网络,如有侵权,请联系作者删除!