Package ghidra.graph.viewer.layout

# 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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `index`
  The grid index of this column (0, 1...n) for the number of columns
  `int`
  `width`
  `int`
  `x`
  The layout x coordinate of the column

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Column(int index)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getPaddedWidth(boolean isCondensed)`
  `boolean`
  `isInitialized()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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`