Class Column


  • public class Column
    extends java.lang.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)  
    • Field Detail

      • 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 Detail

      • Column

        public Column​(int index)
    • Method Detail

      • getPaddedWidth

        public int getPaddedWidth​(boolean isCondensed)
      • isInitialized

        public boolean isInitialized()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object