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 Details

    • SelectionRange

      public SelectionRange()
  • Method Details

    • 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 a ClipboardCell. The result can be accessed with the getRange() method.
      Parameters:
      list - the list a ClipboardCell
    • getRange

      public RectangleSelection.GridRange getRange()
    • key

      public static Long key(int row, int column)