|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJaretTableSelectionModel
Selection model for the jaret table. The selection models controls the slection istelf and the possible selection modes.
Method Summary | |
---|---|
void |
addSelectedCell(IJaretTableCell cell)
Add a cell to the selection. |
void |
addSelectedColumn(IColumn column)
Add a column to the selection. |
void |
addSelectedRow(IRow row)
Add a row to the selection. |
void |
addTableSelectionModelListener(IJaretTableSelectionModelListener jtsm)
Add a listener to listen to changes of the selection. |
void |
clearSelection()
Clear the selection. |
IJaretTableSelection |
getSelection()
retrieve the selected elements in the tabel selection structure. |
boolean |
isCellSelectionAllowed()
|
boolean |
isFullColumnSelectionAllowed()
Check whether full column selection is allowed. |
boolean |
isFullRowSelectionAllowed()
Check whether full row selection is allowed. |
boolean |
isMultipleSelectionAllowed()
Retrieve allowance for multiple elements selectable. |
boolean |
isOnlyRowSelectionAllowed()
Check whether only row selection is allowed. |
void |
removeTableSelectionModelListener(IJaretTableSelectionModelListener jtsm)
Remove a listener. |
void |
remSelectedCell(IJaretTableCell cell)
Remove a cell from the selection. |
void |
remSelectedColumn(IColumn column)
Remove a column from the selection. |
void |
remSelectedRow(IRow row)
Remove a row from the selection. |
void |
setCellSelectionAllowed(boolean allowed)
Set allowance for single cell selections. |
void |
setFullColumnSelectionAllowed(boolean allowed)
Set the allowance for full column selection. |
void |
setFullRowSelectionAllowed(boolean allowed)
Set the allowance for full row selection. |
void |
setMultipleSelectionAllowed(boolean allowed)
Set the allowance for multiple selection. |
void |
setOnlyRowSelectionAllowed(boolean allowed)
If set to true only row selection is allowed. |
Method Detail |
---|
void clearSelection()
boolean isFullRowSelectionAllowed()
void setFullRowSelectionAllowed(boolean allowed)
allowed
- true for allowedboolean isFullColumnSelectionAllowed()
void setFullColumnSelectionAllowed(boolean allowed)
allowed
- true for allowedboolean isCellSelectionAllowed()
void setCellSelectionAllowed(boolean allowed)
allowed
- true for allowedboolean isMultipleSelectionAllowed()
void setMultipleSelectionAllowed(boolean allowed)
allowed
- true for allowedboolean isOnlyRowSelectionAllowed()
void setOnlyRowSelectionAllowed(boolean allowed)
allowed
- true for only row selectionvoid addSelectedRow(IRow row)
row
- element to be added to the selectionvoid remSelectedRow(IRow row)
row
- element to be removed from the selectionvoid addSelectedColumn(IColumn column)
column
- element to be added to the selectionvoid remSelectedColumn(IColumn column)
column
- element to be removed from the selectionvoid addSelectedCell(IJaretTableCell cell)
cell
- element to be added to the selectionvoid remSelectedCell(IJaretTableCell cell)
cell
- element to be removed from the selectionIJaretTableSelection getSelection()
void addTableSelectionModelListener(IJaretTableSelectionModelListener jtsm)
jtsm
- listenervoid removeTableSelectionModelListener(IJaretTableSelectionModelListener jtsm)
jtsm
- listener to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |