|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.gee.publication.cover.Box
public class Box
A box is a place in a Template where an Entry can be inserted. A box has a width and a height and can be set to be rotatable (meaning that width and height can be swapped).
| Field Summary | |
|---|---|
boolean |
fluid
Flag indicating whether the box is fluid. |
int |
height
The height of the box. |
int |
minimalHeight
The minimal height of the box |
int |
minimalWidth
The minimal width of the box |
boolean |
rotatable
Flag indicating whether the box is allowed to rotate. |
int |
width
The width of the box. |
| Constructor Summary | |
|---|---|
Box(int width,
int height)
Construct a box. |
|
| Method Summary | |
|---|---|
Box |
rotated()
Create a rotated version of this box. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int width
public int height
public int minimalWidth
public int minimalHeight
public boolean rotatable
public boolean fluid
| Constructor Detail |
|---|
public Box(int width,
int height)
width - the width of the box.height - the height of the box.| Method Detail |
|---|
public Box rotated()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||