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

Class StackedLayout

    • Constructor Detail

      • StackedLayout

        public StackedLayout(Orientation orientation)
        Creates a new StackedLayout object with the specified orientation and default gap between the components.
        Parameters:
        orientation - Orientation in which components are stacked.
      • StackedLayout

        public StackedLayout(Orientation orientation,
                             double gapX,
                             double gapY)
        Creates a new StackedLayout object with the specified orientation and gap between the components.
        Parameters:
        orientation - Orientation in which components are stacked.
        gapX - Horizontal gap between the components.
        gapY - Vertical gap between the components.
    • Method Detail

      • layout

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

        public 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

Ads help maintain this website.