Package ghidra.graph.viewer.layout
Class GridBounds
java.lang.Object
ghidra.graph.viewer.layout.GridBounds
Tracks the minimum and maximum indexes for both rows and columns.
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
GridBounds
public GridBounds() 
 - 
 - 
Method Details
- 
update
Updates the bounds for the given GridPoint.- Parameters:
 p- the gridPoint used to update the minimums and maximums
 - 
shift
public void shift(int rowShift, int colShift) Shifts the columns bounds by the given amount- Parameters:
 rowShift- the amount to shift the row bounds.colShift- the amount to shift the column bounds.- Throws:
 IllegalArgumentException- if the shift would make the minimum column negative
 - 
toString
 - 
maxCol
public int maxCol() - 
minCol
public int minCol() - 
maxRow
public int maxRow() - 
minRow
public int minRow() - 
contains
 
 -