|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.wabit.report.ReportUtil
public class ReportUtil
This class contains a collection of static methods that are useful when creating report classes.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_FORMAT_STRING
This string is used to describe the default format when selecting a format. |
| Method Summary | |
|---|---|
static javax.swing.JButton |
createFontButton(javax.swing.JComponent fontTarget)
This returns a button to choose a font type. |
static java.util.List<java.text.DecimalFormat> |
getNumberFormats()
This returns a list of several different DecimalFormats that can
be used in number formatting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_FORMAT_STRING
| Method Detail |
|---|
public static javax.swing.JButton createFontButton(javax.swing.JComponent fontTarget)
FontSelector when it
is opened. The font chosen will also be placed on this JComponent when a
font is selected.
fontTarget - The component that will have its font modified when the user
chooses a new font. The parent window of this component will
be used as a parent for the font selector.
FontSelector to choose a new font
for the JComponent.public static java.util.List<java.text.DecimalFormat> getNumberFormats()
DecimalFormats that can
be used in number formatting.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||