Label to display text.
| Modifier and Type | Class and Description |
|---|---|
| public static class | TextButton.
The style for a text button, see |
| Modifier and Type | Field and Description |
|---|---|
| private Label | |
| private TextButton. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | draw(Batch batch, float parentAlpha)
Overrides com. If this method is overridden, the super method or |
| protected Color | getFontColor()
Returns the appropriate label font color from the style based on the current button state. |
| public Label | |
| public Cell | |
| public TextButton. | getStyle()
Overrides com. Implements com. Returns the button's style. |
| public CharSequence | |
| protected Label | |
| public void | |
| public void | setStyle(Button.
Overrides com. Implements com. Set the current style of the actor |
| public void | |
| public String | toString()
Overrides com. Returns a description of the actor hierarchy, recursively. |
| label | back to summary |
|---|---|
| private Label label | |
| style | back to summary |
|---|---|
| private TextButton. | |
| TextButton | back to summary |
|---|---|
| public TextButton(String text, Skin skin) | |
| TextButton | back to summary |
|---|---|
| public TextButton(String text, Skin skin, String styleName) | |
| TextButton | back to summary |
|---|---|
| public TextButton(String text, TextButton. | |
| draw | back to summary |
|---|---|
| public void draw(Batch batch, float parentAlpha) Overrides com. Doc from com. If this method is overridden, the super method or | |
| getFontColor | back to summary |
|---|---|
| protected Color getFontColor() Returns the appropriate label font color from the style based on the current button state.
| |
| getLabel | back to summary |
|---|---|
| public Label getLabel() | |
| getLabelCell | back to summary |
|---|---|
| public Cell | |
| getStyle | back to summary |
|---|---|
| public TextButton. Overrides com. Implements com. Doc from com. Returns the button's style. Modifying the returned style may not have an effect until | |
| getText | back to summary |
|---|---|
| public CharSequence getText() | |
| newLabel | back to summary |
|---|---|
| protected Label newLabel(String text, Label. | |
| setLabel | back to summary |
|---|---|
| public void setLabel(Label label) | |
| setStyle | back to summary |
|---|---|
| public void setStyle(Button. Overrides com. Implements com. Doc from com. Set the current style of the actor | |
| setText | back to summary |
|---|---|
| public void setText(String text) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from com. Returns a description of the actor hierarchy, recursively. | |
TextButton.
| Modifier and Type | Field and Description |
|---|---|
| public Color | |
| public Color | |
| public Color | |
| public Color | |
| public Color | |
| public Color | |
| public Color | |
| public BitmapFont | |
| public Color | |
| public Color |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| checkedDownFontColor | back to summary |
|---|---|
| public Color checkedDownFontColor
| |
| checkedFocusedFontColor | back to summary |
|---|---|
| public Color checkedFocusedFontColor
| |
| checkedFontColor | back to summary |
|---|---|
| public Color checkedFontColor
| |
| checkedOverFontColor | back to summary |
|---|---|
| public Color checkedOverFontColor
| |
| disabledFontColor | back to summary |
|---|---|
| public Color disabledFontColor
| |
| downFontColor | back to summary |
|---|---|
| public Color downFontColor
| |
| focusedFontColor | back to summary |
|---|---|
| public Color focusedFontColor
| |
| font | back to summary |
|---|---|
| public BitmapFont font | |
| fontColor | back to summary |
|---|---|
| public Color fontColor
| |
| overFontColor | back to summary |
|---|---|
| public Color overFontColor
| |
| TextButtonStyle | back to summary |
|---|---|
| public TextButtonStyle() | |
| TextButtonStyle | back to summary |
|---|---|
| public TextButtonStyle(Drawable up, Drawable down, Drawable checked, BitmapFont font) | |
| TextButtonStyle | back to summary |
|---|---|
| public TextButtonStyle(TextButton. | |