public interface TextHolder
Known subtypesFloatingActionButton, MultiButton, ScaleImageButton, ScaleImageLabel, ShareButton, SliderBridge, SpanButton, SpanLabel, SpanMultiButton, LikeButton, AutoCompleteTextField, Button, CheckBox, EditField, Label, RadioButton, Slider, TextArea, TextField, DefaultListCellRenderer, Picker
An interface implemented by
Component classes that can support
setting/getting text. E.g. Label, TextArea,
SpanLabel, SpanButton, etc..Methods
public abstract String getText() | The text of the component |
public abstract void setText(String text) | New text for the component |
Method details
getText
public abstract String getText()The text of the component
Returns
the text
setText
public abstract void setText(String text)New text for the component
Parameters
textString- the text