Package net.minecraft.client.gui.layouts
Class FrameLayout
java.lang.Object
net.minecraft.client.gui.layouts.AbstractLayout
net.minecraft.client.gui.layouts.FrameLayout
- All Implemented Interfaces:
Layout
,LayoutElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.layouts.AbstractLayout
AbstractLayout.AbstractChildWrapper
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<FrameLayout.ChildContainer>
private final LayoutSettings
private int
private int
Fields inherited from class net.minecraft.client.gui.layouts.AbstractLayout
height, width
-
Constructor Summary
ConstructorDescriptionFrameLayout
(int p_270073_, int p_270705_) FrameLayout
(int p_265719_, int p_265042_, int p_265587_, int p_265682_) -
Method Summary
Modifier and TypeMethodDescription<T extends LayoutElement>
TaddChild
(T p_265071_) <T extends LayoutElement>
TaddChild
(T p_298612_, Consumer<LayoutSettings> p_301357_) <T extends LayoutElement>
TaddChild
(T p_265386_, LayoutSettings p_265532_) static void
alignInDimension
(int p_265164_, int p_265100_, int p_265351_, Consumer<Integer> p_265614_, float p_265428_) static void
alignInRectangle
(LayoutElement p_265662_, int p_265497_, int p_265030_, int p_265535_, int p_265427_, float p_265271_, float p_265365_) static void
alignInRectangle
(LayoutElement p_275320_, ScreenRectangle p_275389_, float p_275607_, float p_275662_) void
static void
centerInRectangle
(LayoutElement p_265197_, int p_265518_, int p_265334_, int p_265540_, int p_265632_) static void
centerInRectangle
(LayoutElement p_268229_, ScreenRectangle p_268113_) setMinDimensions
(int p_265169_, int p_265616_) setMinHeight
(int p_265646_) setMinWidth
(int p_265764_) void
visitChildren
(Consumer<LayoutElement> p_265070_) 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
-
children
-
minWidth
private int minWidth -
minHeight
private int minHeight -
defaultChildLayoutSettings
-
-
Constructor Details
-
FrameLayout
public FrameLayout() -
FrameLayout
public FrameLayout(int p_270073_, int p_270705_) -
FrameLayout
public FrameLayout(int p_265719_, int p_265042_, int p_265587_, int p_265682_)
-
-
Method Details
-
setMinDimensions
-
setMinHeight
-
setMinWidth
-
newChildLayoutSettings
-
defaultChildLayoutSetting
-
arrangeElements
public void arrangeElements() -
addChild
-
addChild
-
addChild
-
visitChildren
-
centerInRectangle
public static void centerInRectangle(LayoutElement p_265197_, int p_265518_, int p_265334_, int p_265540_, int p_265632_) -
alignInRectangle
public static void alignInRectangle(LayoutElement p_265662_, int p_265497_, int p_265030_, int p_265535_, int p_265427_, float p_265271_, float p_265365_) -
alignInDimension
-