public class Buttons
extends java.lang.Object
Constructor and Description |
---|
Buttons(java.awt.Point topLeft)
Positions the collection of buttons within a window or frame.
|
Modifier and Type | Method and Description |
---|---|
void |
addMenuButton(java.lang.String text) |
void |
draw(java.awt.Graphics2D g2) |
java.util.List<Button> |
getButtons() |
int |
maxY() |
int |
size() |
public Buttons(java.awt.Point topLeft)
public java.util.List<Button> getButtons()
public int size()
public int maxY()
public void addMenuButton(java.lang.String text)
public void draw(java.awt.Graphics2D g2)