public class TextStyle extends Object
Class representing checkbox field
Modifier and Type | Method and Description |
---|---|
int |
getAlignment()
Deprecated.
|
Color |
getColor()
Get the Color of the text.
|
String |
getFontName()
Get the Name of the font.
|
double |
getFontSize()
Get the Fonts size.
|
int |
getHorizontalAlignment()
Text alignment.
|
void |
setAlignment(int value)
Deprecated.
|
void |
setColor(Color value)
Set the Color of the text.
|
void |
setFontName(String value)
Set the Name of the font.
|
void |
setFontSize(double value)
Set the Fonts size.
|
void |
setHorizontalAlignment(int value)
Text alignment.
|
String |
toString()
String representation of TextStyle.
|
public String getFontName()
Get the Name of the font.
public void setFontName(String value)
Set the Name of the font.
value
- String valuepublic double getFontSize()
Get the Fonts size.
public void setFontSize(double value)
Set the Fonts size.
value
- double value@Deprecated public int getAlignment()
Gets horizontal alignment of the text.
TextAlignment
@Deprecated public void setAlignment(int value)
Sets horizontal alignment of the text.
value
- TextAlignment valueTextAlignment
public int getHorizontalAlignment()
Text alignment. Valid values are: Left, Center, Rigth.
HorizontalAlignment
public void setHorizontalAlignment(int value)
Text alignment. Valid values are: Left, Center, Rigth.
value
- HorizontalAlignment valueHorizontalAlignment
public Color getColor()
Get the Color of the text.
public void setColor(Color value)
Set the Color of the text.
value
- Color object