Class Grid.Cell

  • Enclosing class:
    Grid

    private static class Grid.Cell
    extends java.lang.Object
    A simple representation of a cell in the grid. Contains a number of component wraps, if they span more than one cell.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Cell​(int spanx, int spany, boolean flowx)  
      private Cell​(Grid.CompWrap cw)  
      private Cell​(Grid.CompWrap cw, int spanx, int spany, boolean flowx)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • spanx

        private final int spanx
      • spany

        private final int spany
      • flowx

        private final boolean flowx
      • compWraps

        private final java.util.ArrayList<Grid.CompWrap> compWraps
      • hasTagged

        private boolean hasTagged
    • Constructor Detail

      • Cell

        private Cell​(int spanx,
                     int spany,
                     boolean flowx)
      • Cell

        private Cell​(Grid.CompWrap cw,
                     int spanx,
                     int spany,
                     boolean flowx)