wt.query.report
Class FixedSeriesBarChartColumnInfo

java.lang.Object
  extended bywt.query.report.FixedSeriesBarChartColumnInfo
All Implemented Interfaces:
BarChartColumnInfo

public class FixedSeriesBarChartColumnInfo
extends Object
implements BarChartColumnInfo



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private  int fixedPadding
           
private static String RESOURCE
           
private  Color[] seriesColors
           
private  int seriesMargin
           
 
Constructor Summary
FixedSeriesBarChartColumnInfo(int a_fixedPadding, int a_seriesMargin, Color[] a_seriesColors)
          

Supported API: false
 
Method Summary
private  void fixedPaddingValidate(int a_FixedPadding)
           
 Color getColor(int a_columnIndex)
          Return the column's color.
 int getFixedPadding()
          Gets the value of the attribute: fixedPadding; Fixed padding.
 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.
 Color[] getSeriesColors()
          Gets the value of the attribute: seriesColors; Series colors.
 int getSeriesMargin()
          Gets the value of the attribute: seriesMargin; Series margin.
private  void seriesColorsValidate(Color[] a_SeriesColors)
           
private  void seriesMarginValidate(int a_SeriesMargin)
           
 void setFixedPadding(int a_FixedPadding)
          Sets the value of the attribute: fixedPadding; Fixed padding.
 void setSeriesColors(Color[] a_SeriesColors)
          Sets the value of the attribute: seriesColors; Series colors.
 void setSeriesMargin(int a_SeriesMargin)
          Sets the value of the attribute: seriesMargin; Series margin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

fixedPadding

private int fixedPadding

seriesMargin

private int seriesMargin

seriesColors

private Color[] seriesColors
Constructor Detail

FixedSeriesBarChartColumnInfo

public FixedSeriesBarChartColumnInfo(int a_fixedPadding,
                                     int a_seriesMargin,
                                     Color[] a_seriesColors)
                              throws WTPropertyVetoException


Supported API: false

Parameters:
a_fixedPadding -
a_seriesMargin -
a_seriesColors -
Throws:
WTPropertyVetoException
Method Detail

getFixedPadding

public int getFixedPadding()
Gets the value of the attribute: fixedPadding; Fixed padding.

Supported API: false

Returns:
int

setFixedPadding

public void setFixedPadding(int a_FixedPadding)
                     throws WTPropertyVetoException
Sets the value of the attribute: fixedPadding; Fixed padding.

Supported API: false

Parameters:
a_FixedPadding -
Throws:
WTPropertyVetoException

fixedPaddingValidate

private void fixedPaddingValidate(int a_FixedPadding)
                           throws WTPropertyVetoException
Parameters:
a_FixedPadding -
Throws:
WTPropertyVetoException

getSeriesMargin

public int getSeriesMargin()
Gets the value of the attribute: seriesMargin; Series margin.

Supported API: false

Returns:
int

setSeriesMargin

public void setSeriesMargin(int a_SeriesMargin)
                     throws WTPropertyVetoException
Sets the value of the attribute: seriesMargin; Series margin.

Supported API: false

Parameters:
a_SeriesMargin -
Throws:
WTPropertyVetoException

seriesMarginValidate

private void seriesMarginValidate(int a_SeriesMargin)
                           throws WTPropertyVetoException
Parameters:
a_SeriesMargin -
Throws:
WTPropertyVetoException

getSeriesColors

public Color[] getSeriesColors()
Gets the value of the attribute: seriesColors; Series colors.

Supported API: false

Returns:
Color[]

setSeriesColors

public void setSeriesColors(Color[] a_SeriesColors)
                     throws WTPropertyVetoException
Sets the value of the attribute: seriesColors; Series colors.

Supported API: false

Parameters:
a_SeriesColors -
Throws:
WTPropertyVetoException

seriesColorsValidate

private void seriesColorsValidate(Color[] a_SeriesColors)
                           throws WTPropertyVetoException
Parameters:
a_SeriesColors -
Throws:
WTPropertyVetoException

getFixedPadding

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

Supported API: false

Specified by:
getFixedPadding in interface BarChartColumnInfo
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

Specified by:
getLeftMargin in interface BarChartColumnInfo
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

Specified by:
getRightMargin in interface BarChartColumnInfo
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

Specified by:
getColor in interface BarChartColumnInfo
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

Specified by:
getHeading in interface BarChartColumnInfo
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

Specified by:
getHeadingSpan in interface BarChartColumnInfo
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