public abstract class MutableOneColorGelem extends MutableGelem
| Constructor and Description |
|---|
MutableOneColorGelem(java.awt.Color color)
Constructs a new MutableOneColorGelem (1x1 cells).
|
MutableOneColorGelem(java.awt.Color color,
int numberOfLines,
int numberOfColumns)
Constructs a new MutableOneColorGelem.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
color() |
void |
setColor(java.awt.Color color) |
isMutableclassName, draw, erase, height, intersects, mutable, mutableDraw, mutableErase, numberOfColumns, numberOfLines, width, x, ypublic MutableOneColorGelem(java.awt.Color color)
requires: color != null
color - gelem's colorpublic MutableOneColorGelem(java.awt.Color color,
int numberOfLines,
int numberOfColumns)
requires: color != null
color - gelem's colornumberOfLines - number of linesnumberOfColumns - number of columns