|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.tableview.TableFormatArea
public class TableFormatArea
Defines an area of columns and rows within a TableView. The startRow/Column must be > 0. The endRow/Column must be >= startRow/Column or == -1, where -1 means all rows/columns after the startRow/Column. The repeatRow/Column must be > 0 and represents every nth row/column between startRow/Column and endRow/Column. All attributes are 1-based.
Field Summary | |
---|---|
static java.lang.String |
RB_KEY
|
Constructor Summary | |
---|---|
TableFormatArea(int sr,
int er,
int rr,
int sc,
int ec,
int rc)
|
Method Summary | |
---|---|
boolean |
areaMatches(int row,
int column,
java.lang.Object uniqueID)
Checks to see if two FormatAreaInterface instances match. |
int |
getEndColumn()
Returns the end column. |
int |
getEndRow()
Returns the end row. |
int |
getRepeatColumn()
Returns the repeat column. |
int |
getRepeatRow()
Returns the repeat row. |
int |
getStartColumn()
Returns the start column. |
int |
getStartRow()
Returns the start row. |
void |
setEndColumn(int end)
Set the end column. |
void |
setEndRow(int end)
Set the end row. |
void |
setRepeatColumn(int repeat)
Set the repeat column. |
void |
setRepeatRow(int repeat)
Set the repeat row. |
void |
setStartColumn(int start)
Set the start column. |
void |
setStartRow(int start)
Set the start row. |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public TableFormatArea(int sr, int er, int rr, int sc, int ec, int rc)
Method Detail |
---|
public int getStartRow()
public void setStartRow(int start)
start
- the start rowpublic int getEndRow()
public void setEndRow(int end)
end
- the end rowpublic int getRepeatRow()
public void setRepeatRow(int repeat)
repeat
- the repeat rowpublic int getStartColumn()
public void setStartColumn(int start)
start
- the start columnpublic int getEndColumn()
public void setEndColumn(int end)
end
- the end columnpublic int getRepeatColumn()
public void setRepeatColumn(int repeat)
start
- the repeat columnpublic boolean areaMatches(int row, int column, java.lang.Object uniqueID)
areaMatches
in interface com.sas.swing.visuals.tableview.TableFormatAreaInterface
row
- The row number (0-based) to match againstcolumn
- The column number (0-based) to match againstuniqueID
- This is ignored by the TableFormatArea
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |