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, 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 pX, int pY, int pWidth, int pHeight)
-
-
Method Details
-
setX
public void setX(int pX) - Specified by:
setX
in interfaceLayoutElement
-
setY
public void setY(int pY) - 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
-