Package net.minecraft.client.gui.layouts
Class EqualSpacingLayout
java.lang.Object
net.minecraft.client.gui.layouts.AbstractLayout
net.minecraft.client.gui.layouts.EqualSpacingLayout
- All Implemented Interfaces:
Layout
,LayoutElement
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
static enum
Nested classes/interfaces inherited from class net.minecraft.client.gui.layouts.AbstractLayout
AbstractLayout.AbstractChildWrapper
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<EqualSpacingLayout.ChildContainer> private final LayoutSettings
private final EqualSpacingLayout.Orientation
Fields inherited from class net.minecraft.client.gui.layouts.AbstractLayout
height, width
-
Constructor Summary
ConstructorDescriptionEqualSpacingLayout
(int p_300144_, int p_297966_, int p_301171_, int p_299404_, EqualSpacingLayout.Orientation p_300279_) EqualSpacingLayout
(int p_298986_, int p_300198_, EqualSpacingLayout.Orientation p_297766_) -
Method Summary
Modifier and TypeMethodDescription<T extends LayoutElement>
TaddChild
(T p_301351_) <T extends LayoutElement>
TaddChild
(T p_298517_, Consumer<LayoutSettings> p_297917_) <T extends LayoutElement>
TaddChild
(T p_299596_, LayoutSettings p_301383_) void
void
visitChildren
(Consumer<LayoutElement> p_299750_) Methods inherited from class net.minecraft.client.gui.layouts.AbstractLayout
getHeight, getWidth, getX, getY, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.layouts.Layout
visitWidgets
Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
getRectangle, setPosition
-
Field Details
-
orientation
-
children
-
defaultChildLayoutSettings
-
-
Constructor Details
-
EqualSpacingLayout
-
EqualSpacingLayout
public EqualSpacingLayout(int p_300144_, int p_297966_, int p_301171_, int p_299404_, EqualSpacingLayout.Orientation p_300279_)
-
-
Method Details
-
arrangeElements
public void arrangeElements() -
visitChildren
-
newChildLayoutSettings
-
defaultChildLayoutSetting
-
addChild
-
addChild
-
addChild
-