public class BoxRegistry
extends java.lang.Object
Constructor | Description |
---|---|
BoxRegistry() |
Modifier and Type | Method | Description |
---|---|---|
static java.util.List<Box> |
getBoxes() |
Liefert eine Liste der verfuegbaren Boxen.
|
static int |
getHeight(Box box) |
Liefert die Hoehe, in der die Box gezeichnet werden soll.
|
static void |
setHeight(Box box,
int height) |
Legt die Hoehe der Box fest.
|
public static java.util.List<Box> getBoxes()
public static int getHeight(Box box)
box
- die Hoehe, zu der die Box ermittelt werden soll.public static void setHeight(Box box, int height)
box
- die Box.height
- die Hoehe der Box.