Class BorderLayout.Constraint

java.lang.Object
tripleplay.ui.Layout.Constraint
tripleplay.ui.layout.BorderLayout.Constraint
Enclosing class:
BorderLayout

public static class BorderLayout.Constraint extends Layout.Constraint
Implements the constraints. Callers do not need to construct instances, but instead use the declared constants and select or deselect the stretching option.
  • Method Details

    • stretched

      public BorderLayout.Constraint stretched()
      Returns a new constraint specifying the same position as this, and with stretching.
    • unstretched

      public BorderLayout.Constraint unstretched()
      Returns a new constraint specifying the same position as this, and with no stretching. The element's preferred size will be used and an appropriate alignment.