public class CaptionUI
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
TextAlignment |
getAlignment()
Gets the text
|
int |
getColor()
Gets the
|
TextPaint |
getFont()
Gets the
|
Padding |
getPadding()
Gets caption paddings
|
java.lang.String |
getText()
Gets the content of the caption.
|
boolean |
getVisible()
Gets a value indicates whether the
|
void |
setAlignment(TextAlignment value)
Sets the text
|
void |
setColor(int value)
Sets the
|
void |
setFont(TextPaint value)
Specify the displaying CodeText's font.
|
void |
setText(java.lang.String value)
Sets the content of the caption.
|
void |
setVisible(boolean value)
Sets a value indicates whether the
|
java.lang.String |
toString()
Returns a human-readable string representation of this
|
public boolean getVisible()
public void setVisible(boolean value)
value
- public int getColor()
public void setColor(int value)
value
- public TextPaint getFont()
public void setFont(TextPaint value)
public Padding getPadding()
public TextAlignment getAlignment()
public void setAlignment(TextAlignment value)
public java.lang.String getText()
public void setText(java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object