Package net.minecraft.client.gui.layouts
Class LinearLayout
java.lang.Object
net.minecraft.client.gui.layouts.AbstractLayout
net.minecraft.client.gui.layouts.LinearLayout
- 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<LinearLayout.ChildContainer>
private final LayoutSettings
private final LinearLayout.Orientation
Fields inherited from class net.minecraft.client.gui.layouts.AbstractLayout
height, width
-
Constructor Summary
ConstructorDescriptionLinearLayout
(int p_265489_, int p_265500_, int p_265233_, int p_265301_, LinearLayout.Orientation p_265341_) LinearLayout
(int p_265093_, int p_265502_, LinearLayout.Orientation p_265112_) -
Method Summary
Modifier and TypeMethodDescription<T extends LayoutElement>
TaddChild
(T p_265140_) <T extends LayoutElement>
TaddChild
(T p_265475_, LayoutSettings p_265684_) void
void
visitChildren
(Consumer<LayoutElement> p_265508_) 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
-
LinearLayout
-
LinearLayout
public LinearLayout(int p_265489_, int p_265500_, int p_265233_, int p_265301_, LinearLayout.Orientation p_265341_)
-
-
Method Details
-
arrangeElements
public void arrangeElements() -
visitChildren
-
newChildLayoutSettings
-
defaultChildLayoutSetting
-
addChild
-
addChild
-