|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.lens.AbstractFormLens
public abstract class AbstractFormLens
The AbstractFormLens class provides default implementations for most of the methods defined in the FormLens interface. It allows a FormLens object to be created without the need to implement every methods. The AbstractFormLens has three abstract methods that subclass must implement: getFieldCount(), getField(), and getLabel().
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
AbstractFormLens()
|
|
| Method Summary | |
|---|---|
Color |
getBackground(int f)
Return the background color to print the field value. |
abstract Object |
getField(int f)
Return the value of the specified field. |
abstract 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. |
abstract 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFormLens()
| Method Detail |
|---|
public abstract int getFieldCount()
getFieldCount in interface FormLenspublic abstract Object getField(int f)
getField in interface FormLensf - field number.
public abstract Object getLabel(int f)
getLabel in interface FormLensf - field number.public int getFieldPerRow()
getFieldPerRow in interface FormLenspublic int getWidth(int col)
getWidth in interface FormLenspublic Font getLabelFont(int f)
getLabelFont in interface FormLensf - field number.
public Color getLabelForeground(int f)
getLabelForeground in interface FormLensf - field number.
public Color getLabelBackground(int f)
getLabelBackground in interface FormLensf - field number.
public Font getFont(int f)
getFont in interface FormLensf - field number.
public Color getForeground(int f)
getForeground in interface FormLensf - field number.
public Color getBackground(int f)
getBackground in interface FormLensf - field number.
public int getUnderline()
getUnderline in interface FormLens
|
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 | ||||||||