|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.klg.jclass.table.JCCellPosition
JCCellPosition is used to set the attributes or
values of a cell, label or range.
The following special row/column values specify other parts of the table:
ALL all cells and labels in a row or column
LABEL a row or column label
ALLCELLS all cells (but not labels) in a row or column
If both row and column are set to ALL, the entire table is
specified (all rows, columns, and labels). The following are some
examples of usage:
1 2 cell (1, 2)
ALL 1 all cells and the label of column 1
2 ALL all cells and the label of row 2
ALL LABEL all row labels
| Field Summary | |
int |
column
Column number, starting at 0. |
int |
row
Row number, starting at 0. |
| Constructor Summary | |
JCCellPosition()
Creates a new JCCellPosition instance with row and column set to
JCTableEnum.NOVALUE |
|
JCCellPosition(int r,
int c)
Creates a new JCCellPosition instance for the given row/column. |
|
| Method Summary | |
boolean |
equals(int r,
int c)
Returns true if a row/column pair matches this
JCCellPosition. |
boolean |
equals(com.klg.jclass.table.JCCellPosition p)
Returns true if another JCCellPosition equals this
one. |
void |
reshape(int r,
int c)
Changes the row/column values for a JCCellPosition object. |
String |
toString()
Return a string representation of this JCCellPosition object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int row
public int column
| Constructor Detail |
public JCCellPosition()
JCCellPosition instance with row and column set to
JCTableEnum.NOVALUE
public JCCellPosition(int r,
int c)
JCCellPosition instance for the given row/column.
r - The row indexc - The column index| Method Detail |
public boolean equals(com.klg.jclass.table.JCCellPosition p)
true if another JCCellPosition equals this
one.
p - The JCCellPosition object to compare against.
true if another JCCellPosition equals this
one
public boolean equals(int r,
int c)
true if a row/column pair matches this
JCCellPosition.
r - The row indexc - The column index
true if a row/column pair matches this
JCCellPosition
public void reshape(int r,
int c)
JCCellPosition object.
r - The row indexc - The column indexpublic String toString()
toString in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||