public class CellRange extends Object
| Constructor and Description |
|---|
CellRange(CellRef startCell,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
calculateHeight() |
int |
calculateWidth() |
void |
clearCells(int startCol,
int endCol,
int startRow,
int endRow) |
boolean |
contains(int row,
int col) |
boolean |
containsCommandsInRow(int row) |
void |
excludeCells(int startCol,
int endCol,
int startRow,
int endRow) |
int |
findTargetRow(int srcRow) |
CellRef |
getCell(int row,
int col) |
CellShiftStrategy |
getCellShiftStrategy() |
boolean |
hasChanged(int row,
int col) |
boolean |
isEmpty(int row,
int col) |
boolean |
isExcluded(int row,
int col) |
boolean |
requiresColShifting(CellRef cell,
int startRow,
int endRow,
int startColShift) |
void |
resetChangeMatrix() |
void |
setCellShiftStrategy(CellShiftStrategy cellShiftStrategy) |
void |
shiftCellsWithColBlock(int startCol,
int endCol,
int row,
int rowShift,
boolean updateColHeights) |
void |
shiftCellsWithRowBlock(int startRow,
int endRow,
int col,
int colShift,
boolean updateRowWidths) |
public CellRange(CellRef startCell, int width, int height)
public CellRef getCell(int row, int col)
public CellShiftStrategy getCellShiftStrategy()
public void setCellShiftStrategy(CellShiftStrategy cellShiftStrategy)
public void shiftCellsWithRowBlock(int startRow,
int endRow,
int col,
int colShift,
boolean updateRowWidths)
public boolean requiresColShifting(CellRef cell, int startRow, int endRow, int startColShift)
public void shiftCellsWithColBlock(int startCol,
int endCol,
int row,
int rowShift,
boolean updateColHeights)
public void excludeCells(int startCol,
int endCol,
int startRow,
int endRow)
public void clearCells(int startCol,
int endCol,
int startRow,
int endRow)
public int calculateHeight()
public int calculateWidth()
public boolean isExcluded(int row,
int col)
public boolean contains(int row,
int col)
public boolean containsCommandsInRow(int row)
public boolean isEmpty(int row,
int col)
public boolean hasChanged(int row,
int col)
public void resetChangeMatrix()
public int findTargetRow(int srcRow)
Copyright © 2020. All rights reserved.