Interface FormLayout.Measure

  • Enclosing class:
    FormLayout

    public static interface FormLayout.Measure
    An interface that describes how to measure a Component. Used to abstract from horizontal and vertical dimensions as well as minimum and preferred sizes.
    Since:
    1.1
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int sizeOf​(java.awt.Component component)
      Computes and returns the size of the given Component.
    • Method Detail

      • sizeOf

        int sizeOf​(java.awt.Component component)
        Computes and returns the size of the given Component.
        Parameters:
        component - the component to measure
        Returns:
        the component's size