public class ComposedGelem extends Gelem
Constructor and Description |
---|
ComposedGelem(Gelem[] list)
Constructs a new ComposedGelem (1x1 cells).
|
Modifier and Type | Method and Description |
---|---|
static boolean |
validList(Gelem[] list)
An array of gelems are considered valid iff it contains at least one gelem object, and if
all gelem have the same number of lines and number of columns.
|
className, draw, erase, height, intersects, isMutable, mutable, mutableDraw, mutableErase, numberOfColumns, numberOfLines, width, x, y
public ComposedGelem(Gelem[] list)
requires: validList(list)
list
- array of gelemspublic static boolean validList(Gelem[] list)
list
- array of gelemsboolean
true if valid, otherwise it returns false