public static class OUtil.CharProps extends OUtil.PropGroup
| Constructor and Description |
|---|
CharProps()
Creates a default group of character properties:
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
prop(OProps.Char prop)
Returns a character property value from the group.
|
void |
setProp(OProps.Char prop,
java.lang.Object value)
Puts a character property value into the group.
|
applyTopublic CharProps()
OProps.Char.CharFontName = "Times New Roman" OProps.Char.CharHeight = 12 OProps.Char.CharPosture = FontSlant.NONE OProps.Char.CharWeight = FontWeight.NORMAL
public java.lang.Object prop(OProps.Char prop)
prop - a character propertypublic void setProp(OProps.Char prop, java.lang.Object value)
prop - a character propertyvalue - its value