| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | RectangleSelection.
Utility class to transform a list of selected cells into a union of ranges. |
| Modifier and Type | Field and Description |
|---|---|
| private final InvalidationListener | |
| private final EventHandler | |
| private final InvalidationListener | |
| private final RectangleSelection. | |
| private final GridViewSkin | |
| private final TableViewSpanSelectionModel |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | handleHorizontalPositioning(int minColumn, int maxColumn)
This will compute and assign the x and width propertis of the Rectangle. |
| private void | handleVerticalPositioning(int minRow, int maxRow, GridRow gridMinRow, GridRow gridMaxRow)
This will compute and assign the y and height properties of the rectangle. |
| private double | Returns: value ceiled to nearest pixelthe size value to be snapped value)Returns a value ceiled to the nearest pixel. |
| public final void |
| layoutListener | back to summary |
|---|---|
| private final InvalidationListener layoutListener | |
| mouseDraggedListener | back to summary |
|---|---|
| private final EventHandler<MouseEvent> mouseDraggedListener | |
| selectedCellListener | back to summary |
|---|---|
| private final InvalidationListener selectedCellListener | |
| selectionRange | back to summary |
|---|---|
| private final RectangleSelection. | |
| skin | back to summary |
|---|---|
| private final GridViewSkin skin | |
| sm | back to summary |
|---|---|
| private final TableViewSpanSelectionModel sm | |
| RectangleSelection | back to summary |
|---|---|
| public RectangleSelection(GridViewSkin skin, TableViewSpanSelectionModel sm) | |
| handleHorizontalPositioning | back to summary |
|---|---|
| private void handleHorizontalPositioning(int minColumn, int maxColumn) This will compute and assign the x and width propertis of the Rectangle. | |
| handleVerticalPositioning | back to summary |
|---|---|
| private void handleVerticalPositioning(int minRow, int maxRow, GridRow gridMinRow, GridRow gridMaxRow) This will compute and assign the y and height properties of the rectangle. | |
| snapSize | back to summary |
|---|---|
| private double snapSize(double value) Returns a value ceiled to the nearest pixel.
| |
| updateRectangle | back to summary |
|---|---|
| public final void updateRectangle() | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| public int |
| bottom | back to summary |
|---|---|
| private final int bottom | |
| left | back to summary |
|---|---|
| private final int left | |
| right | back to summary |
|---|---|
| private final int right | |
| top | back to summary |
|---|---|
| private final int top | |
| GridRange | back to summary |
|---|---|
| public GridRange(int top, int bottom, int left, int right) | |
| getBottom | back to summary |
|---|---|
| public int getBottom() | |
| getLeft | back to summary |
|---|---|
| public int getLeft() | |
| getRight | back to summary |
|---|---|
| public int getRight() | |
| getTop | back to summary |
|---|---|
| public int getTop() | |
| Modifier and Type | Field and Description |
|---|---|
| private RectangleSelection. | |
| private final TreeSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public void | fill(List<TablePosition<S, T>> list, SpreadsheetView spv)
Construct a SelectionRange with a List of Pair where the value is the row and the value is column. |
| public void | fillClipboardRange(List<ClipboardCell>
the list a list)ClipboardCellFills this ClipBoardRange with a list a |
| private int | |
| public RectangleSelection. | |
| private int | |
| public static Long |
| range | back to summary |
|---|---|
| private RectangleSelection. | |
| set | back to summary |
|---|---|
| private final TreeSet<Long> set | |
| SelectionRange | back to summary |
|---|---|
| public SelectionRange() | |
| computeRange | back to summary |
|---|---|
| private void computeRange() return a list of WsGridRange | |
| fill | back to summary |
|---|---|
| public void fill(List<TablePosition<S, T>> list) | |
| fill | back to summary |
|---|---|
| public void fill(List<TablePosition<S, T>> list, SpreadsheetView spv) Construct a SelectionRange with a List of Pair where the value is the row and the value is column. | |
| fillClipboardRange | back to summary |
|---|---|
| public void fillClipboardRange(List<ClipboardCell> list) Fills this ClipBoardRange with a list a
| |
| getColumn | back to summary |
|---|---|
| private int getColumn(Long l) | |
| getRange | back to summary |
|---|---|
| public RectangleSelection. | |
| getRow | back to summary |
|---|---|
| private int getRow(Long l) | |
| key | back to summary |
|---|---|
| public static Long key(int row, int column) | |