Class FormLayout.LayoutInfo

java.lang.Object
com.jgoodies.forms.layout.FormLayout.LayoutInfo
Enclosing class:
FormLayout

public static final class FormLayout.LayoutInfo extends Object
Stores column and row origins.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int[]
    Holds the origins of the columns.
    final int[]
    Holds the origins of the rows.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the layout's height, the size between the first and last row.
    int
    Returns the layout's width, the size between the first and the last column origin.
    int
    Returns the layout's horizontal origin, the origin of the first column.
    int
    Returns the layout's vertical origin, the origin of the first row.

    Methods inherited from class java.lang.Object

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

    • columnOrigins

      public final int[] columnOrigins
      Holds the origins of the columns.
    • rowOrigins

      public final int[] rowOrigins
      Holds the origins of the rows.
  • Method Details

    • getX

      public int getX()
      Returns the layout's horizontal origin, the origin of the first column.
      Returns:
      the layout's horizontal origin, the origin of the first column.
    • getY

      public int getY()
      Returns the layout's vertical origin, the origin of the first row.
      Returns:
      the layout's vertical origin, the origin of the first row.
    • getWidth

      public int getWidth()
      Returns the layout's width, the size between the first and the last column origin.
      Returns:
      the layout's width.
    • getHeight

      public int getHeight()
      Returns the layout's height, the size between the first and last row.
      Returns:
      the layout's height.