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_294661_, int p_294554_, int p_295502_, int p_295293_, EqualSpacingLayout.Orientation p_294700_) EqualSpacingLayout
(int p_296391_, int p_295404_, EqualSpacingLayout.Orientation p_296096_) -
Method Summary
Modifier and TypeMethodDescription<T extends LayoutElement>
TaddChild
(T p_295559_) <T extends LayoutElement>
TaddChild
(T p_295467_, Consumer<LayoutSettings> p_295449_) <T extends LayoutElement>
TaddChild
(T p_295964_, LayoutSettings p_296374_) void
void
visitChildren
(Consumer<LayoutElement> p_295333_) 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_294661_, int p_294554_, int p_295502_, int p_295293_, EqualSpacingLayout.Orientation p_294700_)
-
-
Method Details
-
arrangeElements
public void arrangeElements() -
visitChildren
-
newChildLayoutSettings
-
defaultChildLayoutSetting
-
addChild
-
addChild
-
addChild
-