Interface HasLayout

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractContainer, Box, Panel, RootContainer, ScrollContainer, Window

public interface HasLayout extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the layout for the container.
    void
    Sets the layout for the container.
  • Method Details

    • setLayout

      void setLayout(AbstractLayout layout)
      Sets the layout for the container.
      Parameters:
      layout - the layout instance or null to unset the previous layout
    • getLayout

      AbstractLayout getLayout()
      Gets the layout for the container.
      Returns:
      the layout instance or null if no layout is set