public class BaseWidgetBuilder extends Object
| Constructor | Description |
|---|---|
BaseWidgetBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
atPosition(int x,
int y) |
|
void |
atPosition(Position position) |
|
Material |
getBackground() |
|
Coordinates |
getCoordinates() |
|
Font |
getFont() |
|
String |
getName() |
|
void |
withBackground(Material background) |
|
void |
withCoordinates(Coordinates coordinates) |
|
void |
withFont(Font font) |
|
void |
withName(String name) |
|
void |
withSize(int width,
int length) |
|
void |
withSize(Size size) |
public final void withName(String name)
public final void atPosition(Position position)
public final void atPosition(int x,
int y)
public final void withSize(Size size)
public final void withCoordinates(Coordinates coordinates)
public final void withFont(Font font)
public void withBackground(Material background)
public void withSize(int width,
int length)
public String getName()
public Coordinates getCoordinates()
public Font getFont()
public Material getBackground()
Copyright © 2014–2018. All rights reserved.