Package quadbase.common.param
Class ParameterPageWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
quadbase.common.param.ParameterPageWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Direct Known Subclasses:
HtmlParameterPageWriter
An Abstract Writer that writes ParameterPage
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intAlignment (LEFT | CENTER | RIGHT)protected Stringbackground color in hexprotected Stringbackground imageprotected booleanwhether dates parameter have month/day/year calendarprotected Stringthe path to the datepicker folder that contains the javascript and imagesprotected booleanwhether dates parameter have month/day/year selection listprotected booleanwhether dates parameter is specified with a date variableprotected Stringthe path to the datepicker folder that contains the javascript and imagesprotected quadbase.common.util.IQueryFileInfodatabase connection informationprotected StringDocument titleprotected StringExtra form contentsprotected Stringthe footer textprotected intthe export formatprotected Stringthe header textprotected ParameterPageThe ParameterPage to writeprotected String[]an array of default parameter date formatprotected String[]an array of parameter namesprotected String[]an array of export formats that the ParameterPage can be exported.protected intLayout (HORIZONTAL | VERTICAL)protected booleanState of the Reset buttonprotected String[]an array of default parameter valuesprotected Stringthe security level associated with the reportprotected Stringbackground color of the tableprotected Stringtable border color in hexprotected inttable border thickness in pixelsprotected booleanthe state of the visiblity of the table outer borderprotected Stringthe location of the report or chartprotected Stringtext color in hexprotected Stringtext fontprotected inttext sizeprotected inttext styleprotected Stringtable title textprotected Stringtable title text color in hexprotected Stringtable title text fontprotected inttable title text sizeprotected inttable title text styleFields inherited from class java.io.PrintWriter
out -
Constructor Summary
ConstructorsConstructorDescriptionParameterPageWriter(ParameterPage page, Writer out) Allocates a writer that writes ParameterPage -
Method Summary
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, writeMethods inherited from class java.io.Writer
nullWriter
-
Field Details
-
page
The ParameterPage to write -
paramPageExportFormats
an array of export formats that the ParameterPage can be exported. For ERES only -
securityLevel
the security level associated with the report -
targetLoc
the location of the report or chart -
format
protected int formatthe export format -
extraFormContent
Extra form contents -
paramNameArr
an array of parameter names -
paramValueArr
an array of default parameter values -
paramDateFormat
an array of default parameter date format -
dbInfo
protected quadbase.common.util.IQueryFileInfo dbInfodatabase connection information -
paramPageResetEnabled
protected boolean paramPageResetEnabledState of the Reset button -
paramPageLayout
protected int paramPageLayoutLayout (HORIZONTAL | VERTICAL) -
alignment
protected int alignmentAlignment (LEFT | CENTER | RIGHT) -
header
the header text -
tableOuterBorderOnly
protected boolean tableOuterBorderOnlythe state of the visiblity of the table outer border -
tableBackgroundColor
background color of the table -
tableBorderColor
table border color in hex -
tableBorderThickness
protected int tableBorderThicknesstable border thickness in pixels -
textColor
text color in hex -
textFont
text font -
textSize
protected int textSizetext size -
textStyle
protected int textStyletext style -
titleText
table title text -
titleTextColor
table title text color in hex -
titleTextFont
table title text font -
titleTextSize
protected int titleTextSizetable title text size -
titleTextStyle
protected int titleTextStyletable title text style -
docTitle
Document title -
backgroundImage
background image -
backgroundColor
background color in hex -
dateParameterSelection
protected boolean dateParameterSelectionwhether dates parameter have month/day/year selection list -
dateParameterCalendar
protected boolean dateParameterCalendarwhether dates parameter have month/day/year calendar -
dateParameterCalendarDatepicker
the path to the datepicker folder that contains the javascript and images -
dateVariable
protected boolean dateVariablewhether dates parameter is specified with a date variable -
dateVariableDatepicker
the path to the datepicker folder that contains the javascript and images
-
-
Constructor Details
-
ParameterPageWriter
Allocates a writer that writes ParameterPage- Parameters:
page- the ParameterPage to writeout- the output writer
-
-
Method Details
-
writePage
writes the entire parameter page to the output writer- Throws:
IOException
-
refresh
public void refresh()Refreshes the parameter table content. Call this only when the parameter information in the data source has changed. For example, if more distinct values of a particular parameter are added to the data source. Called internally when the object is first created
-