Package net.minecraft.client.gui.layouts
Class HeaderAndFooterLayout
java.lang.Object
net.minecraft.client.gui.layouts.HeaderAndFooterLayout
- All Implemented Interfaces:
- Layout,- LayoutElement
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate final FrameLayoutstatic final intprivate final FrameLayoutprivate intprivate final FrameLayoutprivate intprivate final Screen
- 
Constructor SummaryConstructorsConstructorDescriptionHeaderAndFooterLayout(Screen p_270234_) HeaderAndFooterLayout(Screen p_270404_, int p_270984_) HeaderAndFooterLayout(Screen p_270083_, int p_270134_, int p_270996_) 
- 
Method SummaryModifier and TypeMethodDescription<T extends LayoutElement>
 TaddToContents(T p_270895_) <T extends LayoutElement>
 TaddToContents(T p_270611_, Consumer<LayoutSettings> p_299569_) <T extends LayoutElement>
 TaddToFooter(T p_270951_) <T extends LayoutElement>
 TaddToFooter(T p_270362_, Consumer<LayoutSettings> p_301265_) <T extends LayoutElement>
 TaddToHeader(T p_270636_) <T extends LayoutElement>
 TaddToHeader(T p_270870_, Consumer<LayoutSettings> p_300314_) voidintintintintgetWidth()intgetX()intgetY()voidsetFooterHeight(int p_270260_) voidsetHeaderHeight(int p_270135_) voidsetX(int p_270309_) voidsetY(int p_270318_) voidvisitChildren(Consumer<LayoutElement> p_270213_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.layouts.LayoutvisitWidgetsMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElementgetRectangle, setPosition
- 
Field Details- 
DEFAULT_HEADER_AND_FOOTER_HEIGHTpublic static final int DEFAULT_HEADER_AND_FOOTER_HEIGHT- See Also:
 
- 
CONTENT_MARGIN_TOPprivate static final int CONTENT_MARGIN_TOP- See Also:
 
- 
headerFrame
- 
contentsFrame
- 
screen
- 
headerHeightprivate int headerHeight
 
- 
- 
Constructor Details- 
HeaderAndFooterLayout
- 
HeaderAndFooterLayout
- 
HeaderAndFooterLayout
 
- 
- 
Method Details- 
setXpublic void setX(int p_270309_) - Specified by:
- setXin interface- LayoutElement
 
- 
setYpublic void setY(int p_270318_) - Specified by:
- setYin interface- LayoutElement
 
- 
getXpublic int getX()- Specified by:
- getXin interface- LayoutElement
 
- 
getYpublic int getY()- Specified by:
- getYin interface- LayoutElement
 
- 
getWidthpublic int getWidth()- Specified by:
- getWidthin interface- LayoutElement
 
- 
getHeightpublic int getHeight()- Specified by:
- getHeightin interface- LayoutElement
 
- 
setHeaderHeightpublic void setHeaderHeight(int p_270135_) 
- 
getHeaderHeightpublic int getHeaderHeight()
- 
visitChildren- Specified by:
- visitChildrenin interface- Layout
 
- 
arrangeElementspublic void arrangeElements()- Specified by:
- arrangeElementsin interface- Layout
 
- 
addToHeader
- 
addToHeader
- 
addToContents
- 
addToContents
 
-