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

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

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

Span.setInnerHTML介绍

暂无

代码示例

代码示例来源:origin: org.drools/drools-wb-guided-dtable-editor-client

@Override
public void setPatternPageDescription(final String description) {
  this.patternPageDescription.setInnerHTML(description);
}

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

@Override
public void range(int from,
         int to) {
  fromToRange.setInnerHTML(from + " - " + to);
}

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

@Override
public void clearError() {
  mainDiv.setClassName("form-group");
  errorLabel.setInnerHTML("");
}

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

@Override
public void error(String error) {
  mainDiv.setClassName("form-group has-error");
  errorLabel.setInnerHTML(error);
}

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

@Override
public void error(String error) {
  mainDiv.setClassName("form-group has-error");
  errorLabel.setInnerHTML(error);
}

代码示例来源:origin: org.guvnor/guvnor-ala-ui-client

@Override
public void setContainerNameHelpText(final String containerNameHelpText) {
  containerNameHelp.getStyle().removeProperty("display");
  containerNameHelp.setInnerHTML(containerNameHelpText);
}

代码示例来源:origin: org.guvnor/guvnor-ala-ui-client

@Override
public void clearFormError() {
  formError.getStyle().setProperty("display",
                   "none");
  formErrorMessage.setInnerHTML(EMPTY_STRING);
}

代码示例来源:origin: org.guvnor/guvnor-ala-openshift-ui-client

@Override
public void setRequiredParamsHelpText(final String requiredParamsHelpText) {
  requitedParamsHelpForm.getStyle().removeProperty("display");
  requiredParamsHelp.setInnerHTML(requiredParamsHelpText);
}

代码示例来源:origin: org.guvnor/guvnor-ala-openshift-ui-client

@Override
public void clearRequiredParamsHelpText() {
  requitedParamsHelpForm.getStyle().setProperty("display",
                         "none");
  requiredParamsHelp.setInnerHTML(EMPTY_STRING);
}

代码示例来源:origin: org.guvnor/guvnor-ala-openshift-ui-client

@Override
public void setRuntimeNameHelpText(final String runtimeNameHelpText) {
  runtimeNameHelp.getStyle().removeProperty("display");
  runtimeNameHelp.setInnerHTML(runtimeNameHelpText);
}

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

@Override
public void setContainerNameHelpText(final String containerNameHelpText) {
  containerNameHelp.getStyle().removeProperty("display");
  containerNameHelp.setInnerHTML(containerNameHelpText);
}

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

@Override
public void showFormError(final String error) {
  formError.getStyle().removeProperty("display");
  formErrorMessage.setInnerHTML(error);
}

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

@Override
public void clearFormError() {
  formError.getStyle().setProperty("display",
                   "none");
  formErrorMessage.setInnerHTML(EMPTY_STRING);
}

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

@Override
public void clearContainerNameHelpText() {
  containerNameHelp.getStyle().setProperty("display",
                       "none");
  containerNameHelp.setInnerHTML(EMPTY_STRING);
}

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

public static void clearSpanMessage(final Span span) {
  span.getStyle().setProperty("visibility",
                "hidden");
  span.setInnerHTML("");
}

代码示例来源:origin: org.guvnor/guvnor-ala-ui-client

@Override
public void clearContainerNameHelpText() {
  containerNameHelp.getStyle().setProperty("display",
                       "none");
  containerNameHelp.setInnerHTML(EMPTY_STRING);
}

代码示例来源:origin: org.guvnor/guvnor-ala-ui-client

@Override
public void showFormError(final String error) {
  formError.getStyle().removeProperty("display");
  formErrorMessage.setInnerHTML(error);
}

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

@Override
public void show(String message) {
  errorMessageContainer.setInnerHTML(message);
  closeEditorRadio.setChecked(true);
  continueRadio.setChecked(false);
  modal.show();
}

代码示例来源:origin: org.kie.workbench.widgets/kie-wb-metadata-widget

@Override
public void setPath(final Path path) {
  this.path = PortablePreconditions.checkNotNull("path",
                          path);
  this.kieSelectableDocumentName.setInnerHTML(getSafeHtml(path.getFileName()).asString());
}

代码示例来源:origin: org.kie.workbench.widgets/kie-wb-common-ui

@Override
public void alert( final String title,
          final String message ) {
  this.modal.setTitle( title );
  this.alertMessage.setInnerHTML( getSafeHtml( message ).asString() );
  modal.show();
}

相关文章