Module org.controlsfx.controls
Package impl.org.controlsfx.spreadsheet
Class RectangleSelection.SelectionRange
- java.lang.Object
-
- impl.org.controlsfx.spreadsheet.RectangleSelection.SelectionRange
-
- Enclosing class:
- RectangleSelection
public static class RectangleSelection.SelectionRange extends Object
Utility class to transform a list of selected cells into a union of ranges.
-
-
Constructor Summary
Constructors Constructor Description SelectionRange()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfill(List<TablePosition> list)voidfill(List<TablePosition> list, SpreadsheetView spv)Construct a SelectionRange with a List of Pair where the value is the row and the value is column.voidfillClipboardRange(List<ClipboardCell> list)Fills this ClipBoardRange with a list aClipboardCell.RectangleSelection.GridRangegetRange()static Longkey(int row, int column)
-
-
-
Method Detail
-
fill
public void fill(List<TablePosition> list)
-
fill
public void fill(List<TablePosition> list, SpreadsheetView spv)
Construct a SelectionRange with a List of Pair where the value is the row and the value is column.- Parameters:
list-spv-
-
fillClipboardRange
public void fillClipboardRange(List<ClipboardCell> list)
Fills this ClipBoardRange with a list aClipboardCell. The result can be accessed with thegetRange()method.- Parameters:
list- the list aClipboardCell
-
getRange
public RectangleSelection.GridRange getRange()
-
key
public static Long key(int row, int column)
-
-