# Interface TextHolder

All Known Implementing Classes:
  `AutoCompleteTextField, Button, CheckBox, DefaultListCellRenderer, EditField, FloatingActionButton, Label, LikeButton, MultiButton, Picker, RadioButton, ScaleImageButton, ScaleImageLabel, ShareButton, Slider, SliderBridge, SpanButton, SpanLabel, SpanMultiButton, TextArea, TextField`

public interface TextHolder
An interface implemented by `Component` classes that can support setting/getting text. E.g. `Label`, `TextArea`, `SpanLabel`, `SpanButton`, etc..

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getText()`
  The text of the component
  `void`
  `setText(String text)`
  New text for the component

- ## Method Details

  - ### getText

    String getText()

    The text of the component

    ###### Returns

    the text

  - ### setText

    void setText(String text)

    New text for the component

    ###### Parameters

    - `text`: the text