When set to <code>true</code>, display sub-text associated with a
selected option in the button.<br>
<br>
Defaults to <code>false</code>.

@param showSubtext
552510
public void setShowSubtext(final boolean showSubtext) {
        if (showSubtext)
            attrMixin.setAttribute(SHOW_SUBTEXT, Boolean.toString(true));
        else
            attrMixin.removeAttribute(SHOW_SUBTEXT);
    }
536788
public void setText(String text)
	{
		if (this.filterFunction != null)
			text = this.filterFunction.apply(text);

		if (text == null)
			text = "";
		this.text.setLength(0);
		this.text.append(text);
		guiText.setText(text);

		selectingText = false;
		xOffset = 0;
		if (focused)
			cursor.jumpToEnd();
		// fireEvent(new TextChanged(this));
	}
1137816
public static boolean showConfirmation(Component component, String message) {
		return JOptionPane.showConfirmDialog(SwingUtilities.getWindowAncestor(component), message,
				UIManager.getString("OptionPane.titleText"),
				JOptionPane.OK_OPTION | JOptionPane.CANCEL_OPTION) == JOptionPane.OK_OPTION;
	}
402654
public void init(String text)
    {
        this.setOpaque(true);
        this.setHorizontalTextPosition(JToggleButton.LEFT);
        this.setAlignmentX(JComponent.CENTER_ALIGNMENT);
    }
897345
private void obtainNextButtonText() {
        CharSequence text;

        try {
            text = ThemeUtil.getText(this, R.attr.nextButtonText);
        } catch (NotFoundException e) {
            text = getText(R.string.next_button_text);
        }

        setNextButtonText(text);
    }
92503
public static Optional<ButtonType> showConfirmation(String title, String content) {
        return showConfirmation(title, null, content);
    }
606099
def setShowRichText(self, state):
        
        self._showRichText = state
        text = self.text()
        
        if state:
            label = self.richTextLabel()
            label.setText(text)
            label.show()
            super(XPushButton, self).setText('')
        else:
            if self._richTextLabel:
                self._richTextLabel.hide()
            
            super(XPushButton, self).setText(text)
1166906
public void setSectionTextVisible(final boolean VISIBLE) {
        if (null == sectionTextVisible) {
            _sectionTextVisible = VISIBLE;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            sectionTextVisible.set(VISIBLE);
        }
    }
88178
public void setMenuButtonText(MenuButton button, String text) {
        switch (button) {
            case MID:
                mMidText.setText(text);
                break;
            case LEFT:
                mLeftText.setText(text);
                break;
            case RIGHT:
                mRightText.setText(text);
                break;
        }
    }
1360656
public void newlineShowText(String text) {
        state.yTLM -= state.leading;
        showText2(text);
        content.append("'").append_i(separator);
    }
1247373
@NonNull
    private static ObservableTransformer<Boolean, Boolean> onSubscribeSetText(Button button, @StringRes int textResId) {
        return booleanObservable -> booleanObservable
                .doOnSubscribe((disposable) -> button.setText(textResId))
                .subscribeOn(AndroidSchedulers.mainThread());
    }
898109
private void initializeShowCustomBottomSheetPreference() {
        Preference showCustomBottomSheetPreference =
                findPreference(getString(R.string.show_custom_bottom_sheet_preference_key));
        showCustomBottomSheetPreference
                .setOnPreferenceClickListener(new OnPreferenceClickListener() {

                    @Override
                    public boolean onPreferenceClick(final Preference preference) {
                        initializeCustomBottomSheet();
                        customBottomSheet.show();
                        return true;
                    }

                });
    }
53554
public void setSubTitle(final String SUBTITLE) {
        if (null == subTitle) {
            _subTitle = SUBTITLE;
            fireUpdateEvent(VISIBILITY_EVENT);
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            subTitle.set(SUBTITLE);
        }
    }
251725
public void showElement(CmsContainerPageElementPanel elementWidget) {

        int index = 0;
        for (index = 0; index < getGroupContainerWidget().getWidgetCount(); index++) {
            if (CmsDomUtil.hasClass(HIDDEN_ELEMENT_CLASS, getGroupContainerWidget().getWidget(index).getElement())) {
                break;
            }
        }
        getGroupContainerWidget().insert(elementWidget, index);
        elementWidget.getInheritanceInfo().setVisible(true);
        elementWidget.removeStyleName(HIDDEN_ELEMENT_CLASS);
        updateButtonVisibility(elementWidget);
        getGroupContainerWidget().refreshHighlighting();
        List<Element> elements = CmsDomUtil.getElementsByClass(
            HIDDEN_ELEMENT_OVERLAY_CLASS,
            Tag.div,
            elementWidget.getElement());
        for (Element element : elements) {
            element.removeFromParent();
        }
        if (CmsDomUtil.getElementsByClass(
            HIDDEN_ELEMENT_OVERLAY_CLASS,
            Tag.div,
            getGroupContainerWidget().getElement()).isEmpty()) {
            // if no other hidden elements present disable toggle button
            m_showElementsButton.disable(Messages.get().key(Messages.GUI_INHERITANCECONTAINER_NO_HIDDEN_ELEMENTS_0));
        }
        m_changedInheritanceInfo = true;
    }
345954
public static void setText(String text){
        if(text==null)
            clear();
        else{
            StringSelection selection = new StringSelection(text);
            clipboard().setContents(selection, selection);
        }
    }
1298286
private void showSelect(boolean show) {

        if (show) {
            m_main.addStyleName(I_CmsLayoutBundle.INSTANCE.selectAreaCss().showSelect());
            return;
        }
        m_main.removeStyleName(I_CmsLayoutBundle.INSTANCE.selectAreaCss().showSelect());
    }
416261
public Option title(String text, String subtext) {
        this.title().text(text).subtext(subtext);
        return this;
    }