本文整理了Java中org.gwtbootstrap3.client.ui.Button.setTitle()
方法的一些代码示例,展示了Button.setTitle()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.setTitle()
方法的具体详情如下:
包路径:org.gwtbootstrap3.client.ui.Button
类名称:Button
方法名:setTitle
暂无
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-widgets
@Override
public ToolbarItem.View setTooltip(final String tooltip) {
button.setTitle(tooltip);
return this;
}
代码示例来源:origin: dashbuilder/dashbuilder
@Override
public MapEditor.View setAddText(final String text) {
addButton.setText(text);
addButton.setTitle(text);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-common-client
@Override
public MapEditor.View setAddText(final String text) {
addButton.setText(text);
addButton.setTitle(text);
return this;
}
代码示例来源:origin: org.uberfire/uberfire-widgets-security-management
@Override
public EntityWorkflowView setSaveButtonText(final String text) {
saveButton.setText(text);
saveButton.setTitle(text);
return this;
}
代码示例来源:origin: kiegroup/appformer
@Override
public EntityWorkflowView setSaveButtonText(final String text) {
saveButton.setText(text);
saveButton.setTitle(text);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-widgets
@Override
public void openColumnsFilterPanel(final String title) {
filterAndColumnsPanelToggleButton.setTitle(title);
filterAndColumnsPanelToggleButton.setIcon(IconType.STEP_BACKWARD);
filterAndColumnsPanelToggleButton.getElement().getStyle().setBorderStyle(Style.BorderStyle.SOLID);
}
代码示例来源:origin: kiegroup/appformer
@Override
public void openColumnsFilterPanel(final String title) {
filterAndColumnsPanelToggleButton.setTitle(title);
filterAndColumnsPanelToggleButton.setIcon(IconType.STEP_BACKWARD);
filterAndColumnsPanelToggleButton.getElement().getStyle().setBorderStyle(Style.BorderStyle.SOLID);
}
代码示例来源:origin: org.dashbuilder/dashbuilder-widgets
@Override
public void closeColumnsFilterPanel(final String title) {
filterAndColumnsPanelToggleButton.setTitle(title);
filterAndColumnsPanelToggleButton.setIcon(IconType.STEP_FORWARD);
filterAndColumnsPanelToggleButton.getElement().getStyle().setBorderStyle(Style.BorderStyle.NONE);
}
代码示例来源:origin: oVirt/ovirt-engine
protected void setEnabled(boolean enabled, String hint) {
this.enabled = enabled;
uploadButton.setEnabled(enabled);
uploadButton.setTitle(hint);
defaultButton.setEnabled(enabled);
defaultButton.setTitle(hint);
ensureStyleNamePresent(image, !enabled, style.iconImageDisabled());
image.setTitle(hint);
}
代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client
public void hideParamConfigWidgets() {
filterDetailsPanel.setVisible(false);
filterExpandIcon.setIcon(IconType.ANGLE_RIGHT);
filterExpandIcon.setTitle(CommonConstants.INSTANCE.expand());
}
代码示例来源:origin: kiegroup/appformer
public void hideParamConfigWidgets() {
filterDetailsPanel.setVisible(false);
filterExpandIcon.setIcon(IconType.ANGLE_RIGHT);
filterExpandIcon.setTitle(CommonConstants.INSTANCE.expand());
}
代码示例来源:origin: kiegroup/appformer
public void setupMenuButton() {
menuRefreshButton.setIcon(IconType.REFRESH);
menuRefreshButton.setSize(ButtonSize.SMALL);
menuRefreshButton.setTitle(CommonConstants.INSTANCE.Refresh());
menuRefreshButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent clickEvent) {
supportsRefresh.onRefresh();
}
});
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
protected void setupMenuButton() {
menuButton.setDataToggle(Toggle.DROPDOWN);
menuButton.setIcon(IconType.COG);
menuButton.setTitle(constants.AutoRefresh());
menuButton.setSize(ButtonSize.SMALL);
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
public void setupMenuButton() {
menuRefreshButton.setIcon(IconType.REFRESH);
menuRefreshButton.setSize(ButtonSize.SMALL);
menuRefreshButton.setTitle(CommonConstants.INSTANCE.Refresh());
menuRefreshButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent clickEvent) {
supportsRefresh.onRefresh();
}
});
}
代码示例来源:origin: kiegroup/appformer
protected void setupMenuButton() {
menuButton.setDataToggle(Toggle.DROPDOWN);
menuButton.setIcon(IconType.COG);
menuButton.setTitle(constants.AutoRefresh());
menuButton.setSize(ButtonSize.SMALL);
}
代码示例来源:origin: kiegroup/jbpm-wb
protected void setupMenuButton() {
menuResetTabsButton.setIcon(IconType.FILTER);
menuResetTabsButton.setSize(ButtonSize.SMALL);
menuResetTabsButton.setTitle(Constants.INSTANCE.RestoreDefaultFilters());
menuResetTabsButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent clickEvent) {
supportsRestoreDefaultFilters.onRestoreDefaultFilters();
}
});
}
代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client
@Override
public void showFilterConfig() {
filterExpandIcon.setVisible(true);
filterExpandIcon.setIcon(IconType.ANGLE_DOWN);
filterExpandIcon.setTitle(CommonConstants.INSTANCE.collapse());
filterDetailsPanel.setVisible(true);
}
代码示例来源:origin: org.jbpm/jbpm-console-ng-generic-client
protected void setupMenuButton() {
menuResetTabsButton.setIcon(IconType.FILTER);
menuResetTabsButton.setSize(ButtonSize.SMALL);
menuResetTabsButton.setTitle(Constants.INSTANCE.RestoreDefaultFilters());
menuResetTabsButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent clickEvent) {
supportsRestoreDefaultFilters.onRestoreDefaultFilters();
}
});
}
代码示例来源:origin: kiegroup/appformer
@Override
public void showFilterConfig() {
filterExpandIcon.setVisible(true);
filterExpandIcon.setIcon(IconType.ANGLE_DOWN);
filterExpandIcon.setTitle(CommonConstants.INSTANCE.collapse());
filterDetailsPanel.setVisible(true);
}
代码示例来源:origin: org.jbpm/jbpm-console-ng-generic-client
public void render( final Cell.Context context, final T value, final SafeHtmlBuilder sb ) {
final SafeHtmlBuilder mysb = new SafeHtmlBuilder();
final Button btn = GWT.create( Button.class );
btn.setText( getText( value ) );
btn.setTitle( getText( value ) );
btn.setType( ButtonType.DEFAULT );
btn.setSize( ButtonSize.SMALL );
btn.getElement().getStyle().setMarginRight( 5, Style.Unit.PX );
mysb.appendHtmlConstant( btn.getElement().getString() );
sb.append( mysb.toSafeHtml() );
}
内容来源于网络,如有侵权,请联系作者删除!