|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplatypus.GDD
public class GDD
GDD is the Global Document Data class. It contains several properties relating to the output document state, as well as to Platypus' state. Implemented using the Singleton pattern, as it is a one-time global item.
for a similar class for the input document (GID = Global Input Data)| Nested Class Summary | |
|---|---|
static class |
GDD.FileType
type of output file (such as PDF, HTML, etc). |
| Field Summary | |
|---|---|
private Alignment |
alignment
|
private boolean |
clVerbose
|
private boolean |
clVVerbose
|
private Columns |
columns
|
private int |
currentColumn
|
private PlatyFont |
currentFont
|
private PageFooter |
footer
|
CommandId |
gdd_command_ids
|
private Leading |
leading
|
private Literals |
lits
instance of singleton that fetches the literals from the resource bundle |
private java.util.logging.Logger |
logger
the only logger used in Platypus |
private Margins |
margin
|
private Value<java.lang.Boolean> |
noIndent
|
private Outfile |
outfile
class containing all the output routines |
private Counter |
pageCounter
|
private PageSize |
pageSize
|
private ParaIndent |
paraIndent
|
private ParaSkip |
paraSkip
|
private Strikethru |
strikethru
|
private static GDD |
thisInstance
|
private Underline |
underline
|
| Constructor Summary | |
|---|---|
private |
GDD()
private constructor used for singleton pattern. |
| Method Summary | |
|---|---|
void |
dumpGDD()
Dumps the GDD to stdout. |
Alignment |
getAlignment()
|
Columns |
getColumns()
|
int |
getCurrentColumn()
|
PlatyFont |
getCurrFont()
|
PageFooter |
getFooter()
|
static GDD |
getInstance()
The function used by singleton pattern to return handle to this class |
Leading |
getLeading()
|
java.util.logging.Logger |
getLogger()
|
Margins |
getMargin()
|
Value<java.lang.Boolean> |
getNoIndent()
|
Outfile |
getOutfile()
|
Counter |
getPageCounter()
|
PageSize |
getPageSize()
|
ParaIndent |
getParaIndent()
|
ParaSkip |
getParaSkip()
|
Strikethru |
getStrikethru()
|
Underline |
getUnderline()
|
void |
initializeGDD()
Initialize values. |
boolean |
isClVerbose()
|
boolean |
isClVVerbose()
|
void |
setAlignment(Alignment alignment)
|
void |
setClVerbose(boolean clVerbose)
|
void |
setClVVerbose(boolean clVVerbose)
|
void |
setColumns(Columns columns)
|
void |
setCurrentColumn(int currentColumn)
|
void |
setCurrentFont(PlatyFont newFont)
|
void |
setFooter(PageFooter footer)
|
void |
setLeading(Leading leading)
|
void |
setLogger(java.util.logging.Logger logger)
|
void |
setMargin(Margins margin)
|
void |
setNoIndent(Value<java.lang.Boolean> noIndent)
|
void |
setOutfile(Outfile outfile)
|
void |
setPageSize(PageSize pageSize)
|
void |
setParaIndent(ParaIndent paraIndent)
|
void |
setParaSkip(ParaSkip paraSkip)
|
void |
setStrikethru(Strikethru strikethru)
|
void |
setUnderline(Underline underline)
|
void |
setupLogger()
set up the logger we'll use and give it our own formatting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Literals lits
private Outfile outfile
public CommandId gdd_command_ids
private Alignment alignment
private Columns columns
private int currentColumn
private PlatyFont currentFont
private Leading leading
private PageFooter footer
private Margins margin
private Value<java.lang.Boolean> noIndent
private Counter pageCounter
private PageSize pageSize
private ParaIndent paraIndent
private ParaSkip paraSkip
private Strikethru strikethru
private Underline underline
private boolean clVerbose
private boolean clVVerbose
private java.util.logging.Logger logger
private static final GDD thisInstance
| Constructor Detail |
|---|
private GDD()
| Method Detail |
|---|
public void initializeGDD()
public static GDD getInstance()
public void dumpGDD()
public void setupLogger()
public PlatyFont getCurrFont()
public void setCurrentFont(PlatyFont newFont)
public Alignment getAlignment()
public void setAlignment(Alignment alignment)
public Columns getColumns()
public void setColumns(Columns columns)
public int getCurrentColumn()
public void setCurrentColumn(int currentColumn)
public Leading getLeading()
public void setLeading(Leading leading)
public PageFooter getFooter()
public void setFooter(PageFooter footer)
public Margins getMargin()
public void setMargin(Margins margin)
public Value<java.lang.Boolean> getNoIndent()
public void setNoIndent(Value<java.lang.Boolean> noIndent)
public Counter getPageCounter()
public PageSize getPageSize()
public void setPageSize(PageSize pageSize)
public ParaIndent getParaIndent()
public void setParaIndent(ParaIndent paraIndent)
public ParaSkip getParaSkip()
public void setParaSkip(ParaSkip paraSkip)
public Strikethru getStrikethru()
public void setStrikethru(Strikethru strikethru)
public Underline getUnderline()
public void setUnderline(Underline underline)
public boolean isClVerbose()
public void setClVerbose(boolean clVerbose)
public boolean isClVVerbose()
public void setClVVerbose(boolean clVVerbose)
public java.util.logging.Logger getLogger()
public void setLogger(java.util.logging.Logger logger)
public Outfile getOutfile()
public void setOutfile(Outfile outfile)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||