Class FrameWidget

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, NarratableEntry, NarrationSupplier

public class FrameWidget extends AbstractContainerWidget
  • Field Details

  • Constructor Details

    • FrameWidget

      public FrameWidget()
    • FrameWidget

      public FrameWidget(int p_253979_, int p_254090_, int p_253710_, int p_254169_)
  • Method Details

    • withMinDimensions

      public static FrameWidget withMinDimensions(int p_254205_, int p_254083_)
    • setMinDimensions

      public FrameWidget setMinDimensions(int p_254494_, int p_254389_)
    • setMinHeight

      public FrameWidget setMinHeight(int p_253656_)
    • setMinWidth

      public FrameWidget setMinWidth(int p_254400_)
    • newChildLayoutSettings

      public LayoutSettings newChildLayoutSettings()
    • defaultChildLayoutSetting

      public LayoutSettings defaultChildLayoutSetting()
    • pack

      public void pack()
    • addChild

      public <T extends AbstractWidget> T addChild(T p_254042_)
    • addChild

      public <T extends AbstractWidget> T addChild(T p_253867_, LayoutSettings p_254248_)
    • getContainedChildren

      protected List<AbstractWidget> getContainedChildren()
      Specified by:
      getContainedChildren in class AbstractContainerWidget
    • centerInRectangle

      public static void centerInRectangle(AbstractWidget p_254089_, int p_253673_, int p_253715_, int p_254062_, int p_253910_)
    • alignInRectangle

      public static void alignInRectangle(AbstractWidget p_254017_, int p_253970_, int p_254417_, int p_253830_, int p_254349_, float p_253759_, float p_254234_)
    • alignInDimension

      public static void alignInDimension(int p_254540_, int p_254175_, int p_254347_, Consumer<Integer> p_254019_, float p_253883_)