|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FormLens
A form is a collection of fields arranged in row/column order. Each field is consisted of a label and a field value. The label is always printed at the left side of the field value. By default the labels are right aligned and the field values are left aligned.
The form is a convenience class for presenting a table. Everything can be done with a form can be done with a table. The form is provided to make printing of form based information easy and convenient. If the default layout placed on the form is not adequate for an application, a table can be used which allows much more custom control on how the information is presented.
| Field Summary |
|---|
| Method Summary | |
|---|---|
Color |
getBackground(int f)
Return the background color to print the field value. |
Object |
getField(int f)
Return the value of the specified field. |
int |
getFieldCount()
Return the number of fields in the form. |
int |
getFieldPerRow()
Return the number of fields in a row. |
Font |
getFont(int f)
Return the font used to print the field value. |
Color |
getForeground(int f)
Return the foreground color to print the field value. |
Object |
getLabel(int f)
Get the label of the specified field. |
Color |
getLabelBackground(int f)
Return the background color to print the field label. |
Font |
getLabelFont(int f)
Return the font used to print the field label. |
Color |
getLabelForeground(int f)
Return the foreground color to print the field label. |
int |
getUnderline()
Get the underline of the fields. |
int |
getWidth(int col)
Get the width of a column. |
| Method Detail |
|---|
int getFieldCount()
int getFieldPerRow()
int getWidth(int col)
Font getLabelFont(int f)
f - field number.
Color getLabelForeground(int f)
f - field number.
Color getLabelBackground(int f)
f - field number.
Font getFont(int f)
f - field number.
Color getForeground(int f)
f - field number.
Color getBackground(int f)
f - field number.
Object getField(int f)
f - field number.
Object getLabel(int f)
f - field number.int getUnderline()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||