Interface GUILayout

All Known Implementing Classes:
AnchorLayout, CappedLayout, CardLayout, FlowLayout, FramedLayout, GridLayout, PaddedLayout
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GUILayout
Layout class for automatically resizing child components of GUI Objects.
Author:
Matthew Tropiano
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    resizeChild(GUIObject object, int index, int childTotal)
    Called when a child object needs resizing.
  • Method Details

    • resizeChild

      void resizeChild(GUIObject object, int index, int childTotal)
      Called when a child object needs resizing. DO NOT RESIZE THE PARENT OBJECT IN THIS METHOD, AS IT MAY CAUSE AN INFINITE LOOP TO OCCUR.
      Parameters:
      object - the object to resize.
      index - the child index while traversing through the list of children.
      childTotal - the total number of children.