Package net.minecraft.client.gui.layouts
Class AbstractLayout
java.lang.Object
net.minecraft.client.gui.layouts.AbstractLayout
- All Implemented Interfaces:
Layout,LayoutElement
- Direct Known Subclasses:
EqualSpacingLayout,FrameLayout,GridLayout
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.layouts.Layout
arrangeElements, visitChildren, visitWidgetsMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
getRectangle, setPosition
-
Field Details
-
x
private int x -
y
private int y -
width
protected int width -
height
protected int height
-
-
Constructor Details
-
AbstractLayout
public AbstractLayout(int p_265185_, int p_265789_, int p_265792_, int p_265443_)
-
-
Method Details
-
setX
public void setX(int p_265701_) - Specified by:
setXin interfaceLayoutElement
-
setY
public void setY(int p_265155_) - Specified by:
setYin interfaceLayoutElement
-
getX
public int getX()- Specified by:
getXin interfaceLayoutElement
-
getY
public int getY()- Specified by:
getYin interfaceLayoutElement
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceLayoutElement
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceLayoutElement
-