Class Grid.LinkedDimGroup

java.lang.Object
net.miginfocom.layout.Grid.LinkedDimGroup
Enclosing class:
Grid

private static class Grid.LinkedDimGroup extends Object
A number of component wraps that share a layout "something" in one dimension
  • Field Details

    • TYPE_SERIAL

      private static final int TYPE_SERIAL
      See Also:
    • TYPE_PARALLEL

      private static final int TYPE_PARALLEL
      See Also:
    • TYPE_BASELINE

      private static final int TYPE_BASELINE
      See Also:
    • linkCtx

      private final String linkCtx
    • span

      private final int span
    • linkType

      private final int linkType
    • isHor

      private final boolean isHor
    • fromEnd

      private final boolean fromEnd
    • _compWraps

      private final ArrayList<Grid.CompWrap> _compWraps
    • lStart

      private int lStart
    • lSize

      private int lSize
  • Constructor Details

    • LinkedDimGroup

      private LinkedDimGroup(String linkCtx, int span, int linkType, boolean isHor, boolean fromEnd)
  • Method Details

    • addCompWrap

      private void addCompWrap(Grid.CompWrap cw)
    • setCompWraps

      private void setCompWraps(ArrayList<Grid.CompWrap> cws)
    • layout

      private void layout(DimConstraint dc, int start, int size, int spanCount)
    • getMinPrefMax

      private int[] getMinPrefMax()
      Returns the min/pref/max sizes for this cell. Returned array must not be altered
      Returns:
      A shared min/pref/max array of sizes. Always of length 3 and never null. Will always be of type STATIC and PIXEL.