Constructor and Description |
---|
StringField(Object obj)
Creates a new string field using the specified object.
|
StringField(Object obj,
String textStyle)
Creates a new string field using the specified object and text
style.
|
StringField(String str)
Creates a new string field using the specified string.
|
StringField(String str,
String textStyle)
Creates a new string field using the specified object and text
style.
|
Modifier and Type | Method and Description |
---|---|
String |
getTextStyle()
The text style of the field, or null if no special style is used.
|
String |
toString() |
public StringField(Object obj)
obj
- the object to use for this fieldpublic StringField(String str)
str
- the object to use for this fieldpublic StringField(Object obj, String textStyle)
obj
- the object to use for this fieldtextStyle
- the text stylepublic String getTextStyle()
Field
getTextStyle
in interface Field