本文整理了Java中org.jboss.errai.common.client.dom.Button.setTextContent()
方法的一些代码示例,展示了Button.setTextContent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.setTextContent()
方法的具体详情如下:
包路径:org.jboss.errai.common.client.dom.Button
类名称:Button
方法名:setTextContent
暂无
代码示例来源:origin: org.kie.workbench.widgets/kie-wb-common-ui
@Override
public void setYesButtonText( final String text ) {
yesButton.setTextContent( text );
}
代码示例来源:origin: org.kie.workbench.widgets/kie-wb-common-ui
@Override
public void setCancelButtonText( final String text ) {
cancelButton.setTextContent( text );
}
代码示例来源:origin: org.dashbuilder/dashbuilder-renderer-default
@Override
public void setValue(String value) {
item.setTextContent(value);
// setTitle to make the whole value visible on mouse over when selector width is restricted and value is trimmed
item.setTitle(value);
}
代码示例来源:origin: kiegroup/appformer
@Override
public void setValue(String value) {
item.setTextContent(value);
// setTitle to make the whole value visible on mouse over when selector width is restricted and value is trimmed
item.setTitle(value);
}
代码示例来源:origin: org.dashbuilder/dashbuilder-navigation-client
@Override
public void init(NavTreeEditor presenter) {
this.presenter = presenter;
alertMessage.setTextContent(i18n.saveChanges());
saveButton.setTextContent(i18n.save());
cancelButton.setTextContent(i18n.cancel());
}
代码示例来源:origin: kiegroup/appformer
@Override
public void init(NavTreeEditor presenter) {
this.presenter = presenter;
alertMessage.setTextContent(i18n.saveChanges());
saveButton.setTextContent(i18n.save());
cancelButton.setTextContent(i18n.cancel());
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-library-client
@Override
public void init(OrganizationalUnitsScreen presenter) {
this.presenter = presenter;
createOrganizationalUnit.setTextContent(ts.format(LibraryConstants.CreateOrganizationalUnit,
translationUtils.getOrganizationalUnitAliasInSingular()));
title.setTextContent(translationUtils.getOrganizationalUnitAliasInPlural());
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-library-client
@Override
public void init(final EmptyOrganizationalUnitsScreen presenter) {
this.presenter = presenter;
noOrganizationalUnits.setTextContent(ts.format(LibraryConstants.NoOrganizationalUnits,
translationUtils.getOrganizationalUnitAliasInPlural().toLowerCase(),
translationUtils.getOrganizationalUnitAliasInSingular().toLowerCase()));
createOrganizationalUnit.setTextContent(ts.format(LibraryConstants.CreateOrganizationalUnit,
translationUtils.getOrganizationalUnitAliasInSingular()));
final boolean userCanCreateOrganizationalUnits = presenter.userCanCreateOrganizationalUnits();
createOrganizationalUnit.setHidden(!userCanCreateOrganizationalUnits);
}
代码示例来源:origin: kiegroup/jbpm-wb
@PostConstruct
public void init() {
refine.setTextContent(constants.FilterBy());
filtersInputHelp.setAttribute("data-content",
getInputStringHelpHtml());
jQueryPopover.wrap(filtersInputHelp).popover();
refineSelect.getElement().addEventListener("change",
e -> setInputCurrentFilter(refineSelect.getValue()),
false);
refineApply.setTextContent(constants.Apply());
}
代码示例来源:origin: org.dashbuilder/dashbuilder-cms-client
@Override
public void init(ContentManagerHomeScreen presenter) {
this.presenter = presenter;
titleSpan.setTextContent(i18n.getContentManagerHomeTitle());
welcomeSpan.setTextContent(i18n.getContentManagerHomeWelcome());
createSpan.setTextContent(i18n.getContentManagerHomeCreate());
createPerspectiveAnchor.setTextContent(i18n.getContentManagerHomeNewPerspectiveLink());
createPerspectiveButton.setTextContent(i18n.getContentManagerHomeNewPerspectiveButton());
}
代码示例来源:origin: kiegroup/appformer
@Override
public void init(ContentManagerHomeScreen presenter) {
this.presenter = presenter;
titleSpan.setTextContent(i18n.getContentManagerHomeTitle());
welcomeSpan.setTextContent(i18n.getContentManagerHomeWelcome());
createSpan.setTextContent(i18n.getContentManagerHomeCreate());
createPerspectiveAnchor.setTextContent(i18n.getContentManagerHomeNewPerspectiveLink());
createPerspectiveButton.setTextContent(i18n.getContentManagerHomeNewPerspectiveButton());
}
代码示例来源:origin: org.dashbuilder/dashbuilder-cms-client
@Override
public void show() {
nameInput.setValue("");
nameErrorLabel.setTextContent("");
formDiv.setClassName("form-group");
fluidOption.setSelected(true);
pageOption.setSelected(false);
nameLabel.setTextContent(i18n.newPerspectivePopUpViewName());
nameHelp.setTitle(i18n.newPerspectivePopUpViewNameHelp());
styleLabel.setTextContent(i18n.newPerspectivePopUpViewStyle());
styleHelp.setTitle(i18n.newPerspectivePopUpViewStyleHelp());
okButton.setTextContent(i18n.newPerspectivePopUpViewOk());
cancelButton.setTextContent(i18n.newPerspectivePopUpViewCancel());
fluidOption.setTextContent(i18n.newPerspectivePopUpViewFluid());
pageOption.setTextContent(i18n.newPerspectivePopUpViewPage());
modal.setTitle(i18n.newPerspectivePopUpViewTitle());
modal.show();
nameInput.focus();
}
代码示例来源:origin: kiegroup/appformer
@Override
public void show() {
nameInput.setValue("");
nameErrorLabel.setTextContent("");
formDiv.setClassName("form-group");
fluidOption.setSelected(true);
pageOption.setSelected(false);
nameLabel.setTextContent(i18n.newPerspectivePopUpViewName());
nameHelp.setTitle(i18n.newPerspectivePopUpViewNameHelp());
styleLabel.setTextContent(i18n.newPerspectivePopUpViewStyle());
styleHelp.setTitle(i18n.newPerspectivePopUpViewStyleHelp());
okButton.setTextContent(i18n.newPerspectivePopUpViewOk());
cancelButton.setTextContent(i18n.newPerspectivePopUpViewCancel());
fluidOption.setTextContent(i18n.newPerspectivePopUpViewFluid());
pageOption.setTextContent(i18n.newPerspectivePopUpViewPage());
modal.setTitle(i18n.newPerspectivePopUpViewTitle());
modal.show();
nameInput.focus();
}
内容来源于网络,如有侵权,请联系作者删除!