Java Reference
In-Depth Information
Figure 12-14.
2.
Click on the Properties tab to display the Properties view.
Notice that a name (the Id property) is defined for the outputText field. The format of the data can be specified
from a list of predefined formats. In this example, String is the default format; however, Payrate really should be
defined as a Number.
3.
Click on the Format drop-down button and select Number.
Several new Number formatting option components will be displayed.
4.
Click on the Type drop-down button to display the four subtype options and select
Currency.
5.
Click on the Style: Props: (i.e., Style Properties) drop-down button (see the second arrow
in Figure 12-14 ).
The New Style window is displayed with all the formatting options for the pay rate field. The appearance of the
field text can be controlled, as well as, other field appearance properties such as background color and the field's
alignment within the column. We'll make some simple font changes.
6.
Choose the Font family, Color, and Size options as seen in Figure 12-15 and click the
OK button.
 
Search WWH ::




Custom Search