|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.CTRowColFieldInfo
public class CTRowColFieldInfo
The class CTRowColFieldInfo defines the information of column/row in the crosstab.
| Field Summary | |
|---|---|
static int |
ASCENDING
Sort type value of column/row. |
static int |
DESCENDING
Sort type value of column/row. |
static int |
NOSORT
Sort type value of column/row. |
| Constructor Summary | |
|---|---|
CTRowColFieldInfo(java.lang.String name,
java.lang.String mapping,
int sort,
java.lang.String total)
Constructor. |
|
CTRowColFieldInfo(java.lang.String name,
java.lang.String mapping,
int sort,
java.lang.String total,
java.awt.Color fillColor)
Constructor. |
|
CTRowColFieldInfo(java.lang.String name,
java.lang.String mapping,
int sort,
java.lang.String total,
java.awt.Color fillColor,
int index)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBlName()
Gets BC/RC name or the BusinessView name of the column/row field. |
java.awt.Color |
getFillColor()
Gets the background color of the column/row. |
void |
setBlName(java.lang.String blName)
Sets the BC/RC name or the BusinessView name of the column/row field. |
void |
setFillColor(java.awt.Color fillColor)
Sets the background color of the column/row. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ASCENDING
public static final int DESCENDING
public static final int NOSORT
| Constructor Detail |
|---|
public CTRowColFieldInfo(java.lang.String name,
java.lang.String mapping,
int sort,
java.lang.String total)
name - The instance name of the row or column field in the crosstab.mapping - The mapping name of the database field or formula that will be displayed on the columns/rows of the crosstab.sort - Specifies how to sort the field values. it's must be one of ASCENDING, DESCENDING or NOSORT.total - Specifies the display names for summaries of the specified field.
public CTRowColFieldInfo(java.lang.String name,
java.lang.String mapping,
int sort,
java.lang.String total,
java.awt.Color fillColor)
name - The instance name of the row or column field in the crosstab.mapping - The the mapping name of the database field or formula that will be displayed on the columns/rows of the crosstab.sort - Specifies how to sort the field values. it's must be one of ASCENDING, DESCENDING or NOSORT.total - Specifies the display names for summaries of the specified field.fillColor - Specifies the background color of the field.
public CTRowColFieldInfo(java.lang.String name,
java.lang.String mapping,
int sort,
java.lang.String total,
java.awt.Color fillColor,
int index)
name - The instance name of the row or column field in the crosstab.mapping - The the mapping name of the database field or formula that will be displayed on the columns/rows of the crosstab.sort - Specifies how to sort the field values. it's must be one of ASCENDING, DESCENDING or NOSORT.total - Specifies the display names for summaries of the specified field.fillColor - Specifies the background color of the field.index - The position of column/row in the crosstab. It is useless in fact since JReport arrange the column/rows according to the column/row list in the crosstab.| Method Detail |
|---|
public void setFillColor(java.awt.Color fillColor)
fillColor - The background color of the column/row.public java.awt.Color getFillColor()
public void setBlName(java.lang.String blName)
blName - The BC/RC name or the BusinessView name of the column/row field.public java.lang.String getBlName()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||