wt.query.report
Interface BarChartColumnInfo

All Known Implementing Classes:
DefaultBarChartColumnInfo, FixedSeriesBarChartColumnInfo

public interface BarChartColumnInfo

This interface specifies column attributes for Bar Charts.

Supported API: false

Extendable: false


Method Summary
 Color getColor(int a_columnIndex)
          Return the column's color.
 int getFixedPadding(int a_columnIndex)
          Return the column's fixed padding.
 String getHeading(TableModel a_dataModel, int a_rowIndex, Locale a_locale)
          Returns a heading for the column.
 int getHeadingSpan(TableModel a_dataModel, int a_rowIndex)
          Returnsthe number of rows/columns that this heading spans.
 int getLeftMargin(int a_columnIndex)
          Return the column's left margin.
 int getRightMargin(int a_columnIndex)
          Return the column's right margin.
 

Method Detail

getFixedPadding

public int getFixedPadding(int a_columnIndex)
                    throws WTException
Return the column's fixed padding.

Supported API: false

Parameters:
a_columnIndex - Column index to use to retrive the information.
Returns:
int
Throws:
WTException

getLeftMargin

public int getLeftMargin(int a_columnIndex)
                  throws WTException
Return the column's left margin.

Supported API: false

Parameters:
a_columnIndex - Column index to use to retrive the information.
Returns:
int
Throws:
WTException

getRightMargin

public int getRightMargin(int a_columnIndex)
                   throws WTException
Return the column's right margin.

Supported API: false

Parameters:
a_columnIndex - Column index to use to retrive the information.
Returns:
int
Throws:
WTException

getColor

public Color getColor(int a_columnIndex)
               throws WTException
Return the column's color.

Supported API: false

Parameters:
a_columnIndex - Column index to use to retrive the information.
Returns:
Color
Throws:
WTException

getHeading

public String getHeading(TableModel a_dataModel,
                         int a_rowIndex,
                         Locale a_locale)
                  throws WTException
Returns a heading for the column.

Supported API: false

Parameters:
a_dataModel - Data model to use in generating the heading.
a_rowIndex - Row index to use for generating the heading.
a_locale - Locale to use in generating the heading.
Returns:
String
Throws:
WTException

getHeadingSpan

public int getHeadingSpan(TableModel a_dataModel,
                          int a_rowIndex)
                   throws WTException
Returnsthe number of rows/columns that this heading spans.

Supported API: false

Parameters:
a_dataModel - Data model to use in generating the heading span.
a_rowIndex - Row index to use for generating the heading span.
Returns:
int
Throws:
WTException