Package ghidra.graph.viewer.layout
Class Column<V>
java.lang.Object
ghidra.graph.viewer.layout.Column<V>
- Type Parameters:
V
- The vertex type
A column in a grid. This class stores its column index, its x offset and its width. The
x value is the layout space x value of a
Point2D
object. That is, unlike the
GridLocationMap
, the x value of this object is in layout space and not indexes
of a grid.
This class maintains a collection of vertices on this column, organized by column index. You
can get the column of a vertex from getRow(Object)
.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getPaddedWidth
(boolean isCondensed) int
boolean
boolean
isOpenBetween
(int startRow, int endRow) void
toString()
-
Field Details
-
x
public int xThe layout x coordinate of the column -
width
public int width -
index
public int indexThe grid index of this column (0, 1...n) for the number of columns
-
-
Constructor Details
-
Column
public Column(int index)
-
-
Method Details