Class BaseWidgetBuilder


  • public class BaseWidgetBuilder
    extends Object
    Author:
    Grégory Van den Borre
    • Constructor Detail

      • BaseWidgetBuilder

        public BaseWidgetBuilder()
    • 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()