public interface ISelectionModel
Modifier and Type | Method and Description |
---|---|
void |
addSelection(int columnPosition,
int rowPosition) |
void |
addSelection(org.eclipse.swt.graphics.Rectangle range) |
void |
clearSelection() |
void |
clearSelection(int columnPosition,
int rowPosition) |
void |
clearSelection(org.eclipse.swt.graphics.Rectangle removedSelection) |
int[] |
getFullySelectedColumnPositions(int columnHeight) |
int[] |
getFullySelectedRowPositions(int rowWidth) |
int[] |
getSelectedColumnPositions() |
int |
getSelectedRowCount() |
Set<Range> |
getSelectedRowPositions() |
List<org.eclipse.swt.graphics.Rectangle> |
getSelections() |
boolean |
isCellPositionSelected(int columnPosition,
int rowPosition) |
boolean |
isColumnPositionFullySelected(int columnPosition,
int columnHeight) |
boolean |
isColumnPositionSelected(int columnPosition) |
boolean |
isEmpty() |
boolean |
isMultipleSelectionAllowed() |
boolean |
isRowPositionFullySelected(int rowPosition,
int rowWidth) |
boolean |
isRowPositionSelected(int rowPosition) |
void |
setMultipleSelectionAllowed(boolean multipleSelectionAllowed) |
boolean isMultipleSelectionAllowed()
void setMultipleSelectionAllowed(boolean multipleSelectionAllowed)
void addSelection(int columnPosition, int rowPosition)
void addSelection(org.eclipse.swt.graphics.Rectangle range)
void clearSelection()
void clearSelection(int columnPosition, int rowPosition)
void clearSelection(org.eclipse.swt.graphics.Rectangle removedSelection)
boolean isEmpty()
List<org.eclipse.swt.graphics.Rectangle> getSelections()
boolean isCellPositionSelected(int columnPosition, int rowPosition)
int[] getSelectedColumnPositions()
boolean isColumnPositionSelected(int columnPosition)
int[] getFullySelectedColumnPositions(int columnHeight)
columnHeight
- the number of rows in a fully selected columnboolean isColumnPositionFullySelected(int columnPosition, int columnHeight)
columnHeight
- the number of rows in a fully selected columnint getSelectedRowCount()
boolean isRowPositionSelected(int rowPosition)
int[] getFullySelectedRowPositions(int rowWidth)
rowWidth
- the number of columns in a fully selected rowboolean isRowPositionFullySelected(int rowPosition, int rowWidth)
Copyright © 2013. All Rights Reserved.