|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.report.DefaultBarChartColumnInfo
This class implements the BarChartColumnInfo interface with default values
for each column.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private Color |
color
|
private int |
fixedPadding
|
private int |
leftMargin
|
private static String |
RESOURCE
|
private int |
rightMargin
|
Constructor Summary | |
DefaultBarChartColumnInfo(int a_fixedPadding,
int a_leftMargin,
int a_rightMargin,
Color a_color)
Supported API: false |
Method Summary | |
private void |
colorValidate(Color a_Color)
|
private void |
fixedPaddingValidate(int a_FixedPadding)
|
Color |
getColor()
Gets the value of the attribute: color; Color. |
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()
Gets the value of the attribute: leftMargin; Left Margin. |
int |
getLeftMargin(int a_columnIndex)
Return the column's left margin. |
int |
getRightMargin()
Gets the value of the attribute: rightMargin; Right Margin. |
int |
getRightMargin(int a_columnIndex)
Return the column's right margin. |
private void |
leftMarginValidate(int a_LeftMargin)
|
private void |
rightMarginValidate(int a_RightMargin)
|
void |
setColor(Color a_Color)
Sets the value of the attribute: color; Color. |
void |
setFixedPadding(int a_FixedPadding)
Sets the value of the attribute: fixedPadding; Fixed padding. |
void |
setLeftMargin(int a_LeftMargin)
Sets the value of the attribute: leftMargin; Left Margin. |
void |
setRightMargin(int a_RightMargin)
Sets the value of the attribute: rightMargin; Right Margin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private int fixedPadding
private int leftMargin
private int rightMargin
private Color color
Constructor Detail |
public DefaultBarChartColumnInfo(int a_fixedPadding, int a_leftMargin, int a_rightMargin, Color a_color) throws WTPropertyVetoException
a_fixedPadding
- a_leftMargin
- a_rightMargin
- a_color
-
WTPropertyVetoException
Method Detail |
public int getFixedPadding()
public void setFixedPadding(int a_FixedPadding) throws WTPropertyVetoException
a_FixedPadding
-
WTPropertyVetoException
private void fixedPaddingValidate(int a_FixedPadding) throws WTPropertyVetoException
a_FixedPadding
-
WTPropertyVetoException
public int getLeftMargin()
public void setLeftMargin(int a_LeftMargin) throws WTPropertyVetoException
a_LeftMargin
-
WTPropertyVetoException
private void leftMarginValidate(int a_LeftMargin) throws WTPropertyVetoException
a_LeftMargin
-
WTPropertyVetoException
public int getRightMargin()
public void setRightMargin(int a_RightMargin) throws WTPropertyVetoException
a_RightMargin
-
WTPropertyVetoException
private void rightMarginValidate(int a_RightMargin) throws WTPropertyVetoException
a_RightMargin
-
WTPropertyVetoException
public Color getColor()
public void setColor(Color a_Color) throws WTPropertyVetoException
a_Color
-
WTPropertyVetoException
private void colorValidate(Color a_Color) throws WTPropertyVetoException
a_Color
-
WTPropertyVetoException
public int getFixedPadding(int a_columnIndex) throws WTException
getFixedPadding
in interface BarChartColumnInfo
a_columnIndex
- Column index to use to retrive the information.
WTException
public int getLeftMargin(int a_columnIndex) throws WTException
getLeftMargin
in interface BarChartColumnInfo
a_columnIndex
- Column index to use to retrive the information.
WTException
public int getRightMargin(int a_columnIndex) throws WTException
getRightMargin
in interface BarChartColumnInfo
a_columnIndex
- Column index to use to retrive the information.
WTException
public Color getColor(int a_columnIndex) throws WTException
getColor
in interface BarChartColumnInfo
a_columnIndex
- Column index to use to retrive the information.
WTException
public String getHeading(TableModel a_dataModel, int a_rowIndex, Locale a_locale) throws WTException
getHeading
in interface BarChartColumnInfo
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.
WTException
public int getHeadingSpan(TableModel a_dataModel, int a_rowIndex) throws WTException
getHeadingSpan
in interface BarChartColumnInfo
a_dataModel
- Data model to use in generating the heading span.a_rowIndex
- Row index to use for generating the heading span.
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |