Sets the extra info text, and hides or displays the extra info label depending on whether
the text is null or not null.<p>

@param text the text to put into the subtitle suffix
188485
public void setExtraInfo(String text) {

        if (text == null) {
            if (m_shortExtraInfoLabel.getParent() != null) {
                m_shortExtraInfoLabel.removeFromParent();
            }
        } else {
            if (m_shortExtraInfoLabel.getParent() == null) {
                m_titleBox.add(m_shortExtraInfoLabel);
            }
            m_shortExtraInfoLabel.setText(text);
        }
        updateTruncation();
    }
1061524
public synchronized void setText(String text) {
        setLines(splitIntoMultipleLines(text));
        this.labelSize = getBounds(lines, labelSize);
        invalidate();
    }
1305768
public void setSubtitle(final String subtitle) {
        if (subtitle == null && this.subtitle == null) {
            return;
        } else if (subtitle == null) {
            removeChild(this.subtitle);
            this.subtitle = null;
        } else if (this.subtitle == null) {
            this.subtitle = new KeyValueNode<String>(CommonConstants.CS_SUBTITLE_TITLE, subtitle);
            appendChild(this.subtitle, false);
        } else {
            this.subtitle.setValue(subtitle);
        }
    }
216603
public void setText(final String TEXT) {
        if (null == text) {
            _text = TEXT;
            fireSectionEvent(UPDATE_EVENT);
        } else {
            text.set(TEXT);
        }
    }
923141
public void addText(String text) {
        try {
            writer.append(text);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
1029682
public void setText(String text) {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
      if ((text == null) || text.length() < 257) {
        SibTr.entry(this, tc, "setText", text);
      }
      else {
        SibTr.entry(this, tc, "setText", new Object[]{text.length(), text.substring(0,200)+"..."});
      }
    }

    // If the payload is changing, we need to clear all the cached values.
    softRefToDocument = null;
    clearCachedLengths();

    // Set the payload data
    getPayload().setField(JmsTextBodyAccess.BODY_DATA_VALUE, text);

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setText");
  }
1006647
public void setToolTipText(String text) {
        this.toolTipText = text;
        if (toolTipDialog != null) {
            toolTipDialog.setText(text);
        }
    }
22666
public void setText(String value) {
		this.value = value;
		if (cursorPos > value.length()) {
			cursorPos = value.length();
		}
	}
376103
public void setText(final String TEXT) {
        if (null == text) {
            _text = TEXT;
        } else {
            text.set(TEXT);
        }
    }
225957
@Override
    public void setText(String text) {
        if (text == null) {
            if (headerElem != null) {
                removeChild(headerElem);
                headerElem = null;
            }
            return;
        }

        if (headerElem == null) {
            headerElem = Document.get().createHElement(3);
            attachChild(headerElem);
        }
        headerElem.setInnerText(text);
    }
1100845
@Override
    public void setText(String text) {

        setUpFace(text, m_imageClass);
        m_text = text;
        setTitle(text);
    }
1267437
@Override
  public final org.jdom2.Element addContent(String text) {
    // ignore empty elements
    if (text == null) {
      return null;
    }
    return super.addContent(cleanUpString(text));
  }
209588
public void setTitle(CharSequence title){
        if(mConstruct != null && !mConstruct.getDesign().isMaterial()){
            // Modify the dialog's title element
            getDialog().setTitle(title);
        }else{
            if(mTitle != null){
                mTitle.setText(title);
            }
        }
    }
956539
public TextMatchBinding addText(
                    final String text
                    )
    {
        if (text == null  ||  text.length() == 0) {
            throw new IllegalArgumentException( "no pattern specified" );
        }

        _text.add( text );

        return this;
    }
1112353
public void showText (final String text) throws IOException
  {
    if (!inTextMode)
    {
      throw new IllegalStateException ("Must call beginText() before showText()");
    }

    if (fontStack.isEmpty ())
    {
      throw new IllegalStateException ("Must call setFont() before showText()");
    }

    final PDFont font = fontStack.peek ();

    // Unicode code points to keep when subsetting
    if (font.willBeSubset ())
    {
      for (int offset = 0; offset < text.length ();)
      {
        final int codePoint = text.codePointAt (offset);
        font.addToSubset (codePoint);
        offset += Character.charCount (codePoint);
      }
    }

    COSWriter.writeString (font.encode (text), m_aOS);
    write ((byte) ' ');
    writeOperator ((byte) 'T', (byte) 'j');
  }
1358365
public TextMatchBinding setText(
                    final Collection<String> text
                    )
    {
        if (text == null  ||  text.size() == 0) {
            clearText();
            return this;
        }

        synchronized (text) {
            for (String  pattern : text) {
                if (pattern == null  ||  pattern.length() == 0) {
                    throw new IllegalArgumentException( "null element" );
                }
            }

            clearText();
            for (String  pattern : text) {
                addText( pattern );
            }
        }

        return this;
    }
86146
public void showTextKerned(String text) {
        if (state.fontDetails == null)
            throw new NullPointerException("Font and size must be set before writing any text");
        BaseFont bf = state.fontDetails.getBaseFont();
        if (bf.hasKernPairs())
            showText(getKernArray(text, bf));
        else
            showText(text);
    }