类 HeaderAndFooterLayout
java.lang.Object
net.minecraft.client.gui.layouts.HeaderAndFooterLayout
- 所有已实现的接口:
Layout
,LayoutElement
-
字段概要
字段修饰符和类型字段说明private final FrameLayout
private static final int
private static final int
private final FrameLayout
private int
private final FrameLayout
private int
private final Screen
-
构造器概要
构造器构造器说明HeaderAndFooterLayout
(Screen pScreen) HeaderAndFooterLayout
(Screen pScreen, int pHeight) HeaderAndFooterLayout
(Screen pScreen, int pHeaderHeight, int pFooterHeight) -
方法概要
修饰符和类型方法说明<T extends LayoutElement>
TaddToContents
(T pChild) <T extends LayoutElement>
TaddToContents
(T pChild, LayoutSettings pSettings) <T extends LayoutElement>
TaddToFooter
(T pChild) <T extends LayoutElement>
TaddToFooter
(T pChild, LayoutSettings pSettings) <T extends LayoutElement>
TaddToHeader
(T pChild) <T extends LayoutElement>
TaddToHeader
(T pChild, LayoutSettings pSettings) void
int
int
int
int
getWidth()
int
getX()
int
getY()
void
setFooterHeight
(int pFooterHeight) void
setHeaderHeight
(int pHeaderHeight) void
setX
(int pX) void
setY
(int pY) void
visitChildren
(Consumer<LayoutElement> pConsumer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.layouts.Layout
visitWidgets
从接口继承的方法 net.minecraft.client.gui.layouts.LayoutElement
getRectangle, setPosition
-
字段详细资料
-
构造器详细资料
-
HeaderAndFooterLayout
-
HeaderAndFooterLayout
-
HeaderAndFooterLayout
-
-
方法详细资料
-
setX
public void setX(int pX) - 指定者:
setX
在接口中LayoutElement
-
setY
public void setY(int pY) - 指定者:
setY
在接口中LayoutElement
-
getX
public int getX()- 指定者:
getX
在接口中LayoutElement
-
getY
public int getY()- 指定者:
getY
在接口中LayoutElement
-
getWidth
public int getWidth()- 指定者:
getWidth
在接口中LayoutElement
-
getHeight
public int getHeight()- 指定者:
getHeight
在接口中LayoutElement
-
setHeaderHeight
public void setHeaderHeight(int pHeaderHeight) -
getHeaderHeight
public int getHeaderHeight() -
visitChildren
- 指定者:
visitChildren
在接口中Layout
-
arrangeElements
public void arrangeElements()- 指定者:
arrangeElements
在接口中Layout
-
addToHeader
-
addToHeader
-
addToContents
-
addToContents
-
newHeaderLayoutSettings
-
newContentLayoutSettings
-