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

public abstract class ParameterPageWriter extends PrintWriter
An Abstract Writer that writes ParameterPage
See Also:
  • Field Details

    • page

      protected ParameterPage page
      The ParameterPage to write
    • paramPageExportFormats

      protected String[] paramPageExportFormats
      an array of export formats that the ParameterPage can be exported. For ERES only
    • securityLevel

      protected String securityLevel
      the security level associated with the report
    • targetLoc

      protected String targetLoc
      the location of the report or chart
    • format

      protected int format
      the export format
    • extraFormContent

      protected String extraFormContent
      Extra form contents
    • paramNameArr

      protected String[] paramNameArr
      an array of parameter names
    • paramValueArr

      protected String[] paramValueArr
      an array of default parameter values
    • paramDateFormat

      protected String[] paramDateFormat
      an array of default parameter date format
    • dbInfo

      protected quadbase.common.util.IQueryFileInfo dbInfo
      database connection information
    • paramPageResetEnabled

      protected boolean paramPageResetEnabled
      State of the Reset button
    • paramPageLayout

      protected int paramPageLayout
      Layout (HORIZONTAL | VERTICAL)
    • alignment

      protected int alignment
      Alignment (LEFT | CENTER | RIGHT)
    • tableOuterBorderOnly

      protected boolean tableOuterBorderOnly
      the state of the visiblity of the table outer border
    • tableBackgroundColor

      protected String tableBackgroundColor
      background color of the table
    • tableBorderColor

      protected String tableBorderColor
      table border color in hex
    • tableBorderThickness

      protected int tableBorderThickness
      table border thickness in pixels
    • textColor

      protected String textColor
      text color in hex
    • textFont

      protected String textFont
      text font
    • textSize

      protected int textSize
      text size
    • textStyle

      protected int textStyle
      text style
    • titleText

      protected String titleText
      table title text
    • titleTextColor

      protected String titleTextColor
      table title text color in hex
    • titleTextFont

      protected String titleTextFont
      table title text font
    • titleTextSize

      protected int titleTextSize
      table title text size
    • titleTextStyle

      protected int titleTextStyle
      table title text style
    • docTitle

      protected String docTitle
      Document title
    • backgroundImage

      protected String backgroundImage
      background image
    • backgroundColor

      protected String backgroundColor
      background color in hex
    • dateParameterSelection

      protected boolean dateParameterSelection
      whether dates parameter have month/day/year selection list
    • dateParameterCalendar

      protected boolean dateParameterCalendar
      whether dates parameter have month/day/year calendar
    • dateParameterCalendarDatepicker

      protected String dateParameterCalendarDatepicker
      the path to the datepicker folder that contains the javascript and images
    • dateVariable

      protected boolean dateVariable
      whether dates parameter is specified with a date variable
    • dateVariableDatepicker

      protected String dateVariableDatepicker
      the path to the datepicker folder that contains the javascript and images
  • Constructor Details

    • ParameterPageWriter

      public ParameterPageWriter(ParameterPage page, Writer out)
      Allocates a writer that writes ParameterPage
      Parameters:
      page - the ParameterPage to write
      out - the output writer
  • Method Details

    • writePage

      public abstract void writePage() throws IOException
      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