|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJaretTableSelection
Interface describing the selection in a jaret table. The selection is composed of full selected rows and columns and of a list of selected cells. If the selection contains full selected rows or columns, the cells of the rows/columns are not included in the list of single cells.
Method Summary | |
---|---|
void |
addCell(IJaretTableCell cell)
Add a cell to the selection. |
void |
addColumn(IColumn column)
Add a acolumn to the selection. |
void |
addRow(IRow row)
Add a row to the selection. |
void |
clear()
Clear the selection. |
java.util.Set<IJaretTableCell> |
getAllSelectedCells(IJaretTableModel model)
Retrieve a set of all selected cells (union of all cells in selected rows and columns plus. the cells selected seperately) |
java.util.List<IJaretTableCell> |
getSelectedCells()
Retrieve cells that have been selected seperately. |
java.util.List<IColumn> |
getSelectedColumns()
Retrieve selected Columns. |
java.util.List<IRow> |
getSelectedRows()
Retrieve selected rows. |
boolean |
isEmpty()
Check if something is selected. |
void |
remCell(IJaretTableCell cell)
Remove a cell from the selection. |
void |
remColumn(IColumn column)
Remove column from the selection. |
void |
remRow(IRow row)
Remove row from selection. |
Method Detail |
---|
java.util.List<IRow> getSelectedRows()
java.util.List<IColumn> getSelectedColumns()
java.util.List<IJaretTableCell> getSelectedCells()
java.util.Set<IJaretTableCell> getAllSelectedCells(IJaretTableModel model)
model
- is needed to determine all cells.
void addRow(IRow row)
row
- the row to addvoid remRow(IRow row)
row
- row to removevoid addColumn(IColumn column)
column
- column to addvoid remColumn(IColumn column)
column
- col to removevoid addCell(IJaretTableCell cell)
cell
- cell to addvoid remCell(IJaretTableCell cell)
cell
- cell to removeboolean isEmpty()
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |