Class Column

java.lang.Object
ghidra.graph.viewer.layout.Column

public class Column extends Object
A row in a grid. This class stores it's row 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.
  • Field Details

    • x

      public int x
      The layout x coordinate of the column
    • width

      public int width
    • index

      public int index
      The grid index of this column (0, 1...n) for the number of columns
  • Constructor Details

    • Column

      public Column(int index)
  • Method Details

    • getPaddedWidth

      public int getPaddedWidth(boolean isCondensed)
    • isInitialized

      public boolean isInitialized()
    • toString

      public String toString()
      Overrides:
      toString in class Object