Documentation of 'de.erichseifert.gral.graphics.layout.Layout' Java class
Layout
de.erichseifert.gral.graphics.layout

Interface Layout

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      double getGapX()
      Returns the amount of horizontal space between two layed out components.
      double getGapY()
      Returns the amount of vertical space between two layed out components.
      java.awt.geom.Dimension2D getPreferredSize(Container container)
      Returns the preferred size of the specified container using this layout.
      void layout(Container container)
      Arranges the components of the specified container according to this layout.
      void setGapX(double gapX)
      Sets the amount of horizontal space between two layed out components.
      void setGapY(double gapY)
      Sets the amount of horizontal space between two layed out components.
    • Method Detail

      • getGapX

        double getGapX()
        Returns the amount of horizontal space between two layed out components.
        Returns:
        Space in pixels.
      • setGapX

        void setGapX(double gapX)
        Sets the amount of horizontal space between two layed out components.
        Parameters:
        gapX - Space in pixels.
      • getGapY

        double getGapY()
        Returns the amount of vertical space between two layed out components.
        Returns:
        Space in pixels.
      • setGapY

        void setGapY(double gapY)
        Sets the amount of horizontal space between two layed out components.
        Parameters:
        gapY - Space in pixels.
      • layout

        void layout(Container container)
        Arranges the components of the specified container according to this layout.
        Parameters:
        container - Container to be laid out.
      • getPreferredSize

        java.awt.geom.Dimension2D getPreferredSize(Container container)
        Returns the preferred size of the specified container using this layout.
        Parameters:
        container - Container whose preferred size is to be returned.
        Returns:
        Preferred extent of the specified container.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.