|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgnash.ui.report.ReportFactory
public class ReportFactory
Factory methods to help with report configuration and generation
| Field Summary | |
|---|---|
private static java.lang.String |
MONOSPACE
Preferences key for mono spaced font |
private static java.lang.String |
PROPORTIONAL
Preferences key for proportional spaced font |
| Constructor Summary | |
|---|---|
private |
ReportFactory()
|
| Method Summary | |
|---|---|
private static ar.com.fdvs.dj.domain.constants.Font |
buildFont(int size,
java.lang.String font,
boolean bold,
boolean italic,
boolean underline)
|
private static java.lang.String |
getDefaultMonoFont()
Returns a font name for a mono spaced, PDF embeddable font |
static ar.com.fdvs.dj.domain.constants.Font |
getDefaultMonoFont(int size)
|
static ar.com.fdvs.dj.domain.constants.Font |
getDefaultMonoFont(int size,
boolean bold)
|
private static java.lang.String |
getDefaultProportionalFont()
Returns a font name for a proportional, PDF embeddable font |
static ar.com.fdvs.dj.domain.constants.Font |
getDefaultProportionalFont(int size)
|
static ar.com.fdvs.dj.domain.constants.Font |
getDefaultProportionalFont(int size,
boolean bold)
|
static ar.com.fdvs.dj.domain.constants.Font |
getDefaultProportionalFont(int size,
boolean bold,
boolean italic)
|
static java.lang.String |
getMonoFont()
Returns the name of the mono spaced font to use |
static java.text.NumberFormat |
getPercentageFormat()
|
static java.lang.String |
getProportionalFont()
Returns the name of the proportional spaced font to use |
static java.text.NumberFormat |
getQuantityFormat()
|
static void |
setMonoFont(java.lang.String font)
Sets the name of the mono spaced font to use |
static void |
setProportionalFont(java.lang.String font)
Sets the name of the proportional spaced font to use |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String MONOSPACE
private static final java.lang.String PROPORTIONAL
| Constructor Detail |
|---|
private ReportFactory()
| Method Detail |
|---|
private static java.lang.String getDefaultMonoFont()
private static java.lang.String getDefaultProportionalFont()
public static java.lang.String getMonoFont()
public static java.lang.String getProportionalFont()
public static void setMonoFont(java.lang.String font)
font - font name to usepublic static void setProportionalFont(java.lang.String font)
font - font name to use
private static ar.com.fdvs.dj.domain.constants.Font buildFont(int size,
java.lang.String font,
boolean bold,
boolean italic,
boolean underline)
public static ar.com.fdvs.dj.domain.constants.Font getDefaultProportionalFont(int size)
public static ar.com.fdvs.dj.domain.constants.Font getDefaultProportionalFont(int size,
boolean bold)
public static ar.com.fdvs.dj.domain.constants.Font getDefaultProportionalFont(int size,
boolean bold,
boolean italic)
public static ar.com.fdvs.dj.domain.constants.Font getDefaultMonoFont(int size)
public static ar.com.fdvs.dj.domain.constants.Font getDefaultMonoFont(int size,
boolean bold)
public static java.text.NumberFormat getQuantityFormat()
public static java.text.NumberFormat getPercentageFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||