public class Window extends Container
Component.Alignment
Modifier and Type | Field and Description |
---|---|
static int |
borderWidth |
components
Constructor and Description |
---|
Window(float x,
float y,
float width,
float height,
java.lang.String title) |
Window(float width,
float height,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
boolean |
getCloseOnActivate() |
protected void |
renderI(Graphics g,
Input in,
float x,
float y,
float width,
float height) |
Window |
setCloseOnActivate(boolean closeOnActivate) |
void |
tickI(Input in,
AudioEngine ae,
float delta,
float x,
float y,
float width,
float height) |
addComponent, getComponents, isActivated, onActivate, posFromPercent, renderOverlayI, setBackground
public static final int borderWidth
public Window(float x, float y, float width, float height, java.lang.String title)
public Window(float width, float height, java.lang.String title)
public void tickI(Input in, AudioEngine ae, float delta, float x, float y, float width, float height)
public Window setCloseOnActivate(boolean closeOnActivate)
public boolean getCloseOnActivate()