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
-
Field Summary
-
Constructor Summary
-
Method Summary
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
arrangeElements, visitChildren, visitWidgets
Methods 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:
setX
in interfaceLayoutElement
-
setY
public void setY(int p_265155_) - Specified by:
setY
in interfaceLayoutElement
-
getX
public int getX()- Specified by:
getX
in interfaceLayoutElement
-
getY
public int getY()- Specified by:
getY
in interfaceLayoutElement
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceLayoutElement
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceLayoutElement
-