FieldOrMethodDisplayStyle
The settings required to display a field are the same as those for displaying a method (but not for an inner class).
- The TextStyle to use for displaying the field or method name and any parameter names.
- The TextStyle to use for displaying the field type, the method return type and any parameter types and any exceptions.
- The TextStyle to use for any other text in the signature such as commas and parentheses.
Note that the above three are mandatory and must be declared in order.
Example:
FieldOrMethodDisplayStyle blackNormalFieldOrMethodDisplayStyle {
name TextStyle ( Color ( normal 40 40 40 strong 0 0 0 ) ) ;
type TextStyle ( Color ( normal 109 109 163 strong 62 62 145 ) italic ) ;
other TextStyle ( Color ( normal 40 40 40 strong 0 0 0 ) ) ;
}
|