Sets the text to be displayed as a tooltip.

@param text Text to be displayed
7235
public void setText(String text) {
        // Only change if different
        if (!ValueUtils.areEqual(text, toolTip.getTipText())) {

            boolean wasVisible = isVisible();
            if (wasVisible) {
                setVisible(false);
            }

            toolTip.setTipText(text);

            if (wasVisible) {
                setVisible(true);
            }
        }
    }
98069
public void setButtonTooltipText(final String TEXT) {
        if (null == buttonTooltipText) {
            _buttonTooltipText = TEXT;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            buttonTooltipText.set(TEXT);
        }
    }
283789
public void setText(String text) {
        span.setText(text);

        if (!span.isAttached()) {
            add(span);
        }
    }
318931
@Override
    public void setAsText(String text) throws IllegalArgumentException {
        if(text == null){
            setValue(null);
            return;
        }
        setValue(tokenize(text));
    }
1256882
@Override
    public void setAsText(final String text) {
        if (BeanUtils.isNull(text)){
            setValue(null);
            return;
        }
        String[] tokens = super.tokenize(text);
        char[] theValue = new char[tokens.length];

        for (int index = 0; index < tokens.length; index++) {
            if (tokens[index].length() != 1)
                throw new IllegalArgumentException("Too many (" + tokens[index].length() + ") characters: '" + tokens[index]
                        + "'");
            theValue[index] = tokens[index].charAt(0);
        }
        setValue(theValue);
    }
702594
def setText(self, text):
        
        self._text = text

        if text:
            if self._textItem is None:
                self._textItem = QGraphicsTextItem()
                self._textItem.setParentItem(self)

            self._textItem.setPlainText(text)

        elif self._textItem:
            self.scene().removeItem(self._textItem)
            self._textItem = None
801277
public void init(Icon icon, String text)
    {
        this.setText(text);
        this.setIcon(icon);
        this.setMargin(JScreenConstants.NO_INSETS);
    }
76056
public void setText (String text)
    {
        if (_label.setText(text)) {
            _dirty = true;
            // clear out our constrained size where appropriate
            if (_constrain == HORIZONTAL || _constrain == VERTICAL) {
                _constrainedSize = 0;
                _label.clearTargetDimens();
            }
            revalidate();
            repaint();
        }
    }
916845
public void setTitle(String newText) {
        String oldText = getTitle();
        titleLabel.setText(newText);
        firePropertyChange("title", oldText, newText);
    }
383477
public void setFlipText(final String TEXT) {
        if (null == flipText) {
            _flipText = TEXT;
            if (!oldFlipText.equals(_flipText)) { fireTileEvent(FLIP_START_EVENT); }
            oldFlipText = _flipText;
        } else {
            flipText.set(TEXT);
        }
    }
1225823
public void clickOnText(String text) {
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "clickOnText(\""+text+"\")");
		}
		
		clicker.clickOnText(text, false, 1, true, 0);
	}
27220
def show_tooltip(self, title, text, color=_DEFAULT_TITLE_COLOR,
                     at_line=None, at_position=None, at_point=None):
        
        if text is not None and len(text) != 0:
            # Find position of calltip
            point = self._calculate_position(
                at_line=at_line,
                at_position=at_position,
                at_point=at_point,
            )

            # Format text
            tiptext = self._format_text(title, text, color, ellide=True)

            self._update_stylesheet(self.tooltip_widget)

            # Display tooltip
            self.tooltip_widget.show_tip(point, tiptext)
            self.tooltip_widget.show()
1100845
@Override
    public void setText(String text) {

        setUpFace(text, m_imageClass);
        m_text = text;
        setTitle(text);
    }
491565
public void sendTextToNextAlert(String text) {
		Alert alert = driver.switchTo().alert();

		alert.sendKeys(text);
		alert.accept();
	}
330764
public void setAsText(String text) throws IllegalArgumentException {
        if (this.allowEmpty && !StringUtils.hasText(text)) {
            // Treat empty String as null value.
            setValue(null);
        } else {
            setValue(new LocalDate(this.formatter.parseDateTime(text)));
        }
    }
196423
public void setTabText(int index, String text) {
        TextView tv = (TextView) mTabTitleViews.get(index);

        if (tv != null) {
            tv.setText(text);
        }
    }
216603
public void setText(final String TEXT) {
        if (null == text) {
            _text = TEXT;
            fireSectionEvent(UPDATE_EVENT);
        } else {
            text.set(TEXT);
        }
    }