Class UILayout

java.lang.Object
com.ardor3d.extension.ui.layout.UILayout
Direct Known Subclasses:
AnchorLayout, BorderLayout, GridLayout, RowLayout

public abstract class UILayout extends Object
A class that can arrange the position and dimensions of the contents of a UI container.
  • Constructor Details

    • UILayout

      public UILayout()
  • Method Details

    • layoutContents

      public abstract void layoutContents(UIContainer container)
      Perform the actual layout of the contents in the given container.
      Parameters:
      container - the container to layout
    • updateMinimumSizeFromContents

      public abstract void updateMinimumSizeFromContents(UIContainer container)
      Update the minimum size of this container, based on the contents of the provided container and this layout.
      Parameters:
      container - the container to update