public class NumeralField extends java.lang.Object implements Field
| Constructor and Description |
|---|
NumeralField(NumeralStyle style)
Creates a new numeral field with the supplied style.
|
NumeralField(NumeralStyle style,
java.lang.String textStyle)
Creates a new numeral field with the supplied numeral and text styles
|
| Modifier and Type | Method and Description |
|---|---|
NumeralStyle |
getNumeralStyle()
Gets the numeral style.
|
java.lang.String |
getTextStyle()
The text style of the field, or null if no special style is used.
|
public NumeralField(NumeralStyle style)
style - the style for this numeralpublic NumeralField(NumeralStyle style, java.lang.String textStyle)
style - the numeral styletextStyle - the text stylepublic NumeralStyle getNumeralStyle()
public java.lang.String getTextStyle()
FieldgetTextStyle in interface Field