Class BaseWidgetBuilder
- java.lang.Object
-
- be.yildizgames.module.graphic.gui.internal.BaseWidgetBuilder
-
public class BaseWidgetBuilder extends Object
- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description BaseWidgetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidatPosition(int x, int y)voidatPosition(be.yildizgames.module.coordinate.Position position)MaterialgetBackground()be.yildizgames.module.coordinate.BaseCoordinategetCoordinates()FontgetFont()StringgetName()voidwithBackground(Material background)voidwithCoordinates(be.yildizgames.module.coordinate.BaseCoordinate coordinates)voidwithFont(Font font)voidwithName(String name)voidwithSize(int width, int length)voidwithSize(be.yildizgames.module.coordinate.Size size)
-
-
-
Method Detail
-
withName
public final void withName(String name)
-
atPosition
public final void atPosition(be.yildizgames.module.coordinate.Position position)
-
atPosition
public final void atPosition(int x, int y)
-
withSize
public final void withSize(be.yildizgames.module.coordinate.Size size)
-
withCoordinates
public final void withCoordinates(be.yildizgames.module.coordinate.BaseCoordinate coordinates)
-
withFont
public final void withFont(Font font)
-
withBackground
public void withBackground(Material background)
-
withSize
public void withSize(int width, int length)
-
getName
public String getName()
-
getCoordinates
public be.yildizgames.module.coordinate.BaseCoordinate getCoordinates()
-
getFont
public Font getFont()
-
getBackground
public Material getBackground()
-
-