public abstract class OneColorGelem extends Gelem
Constructor and Description |
---|
OneColorGelem(java.awt.Color color)
Constructs a new OneColorGelem (1x1 cells).
|
OneColorGelem(java.awt.Color color,
int numberOfLines,
int numberOfColumns)
Constructs a new OneColorGelem.
|
className, draw, erase, height, intersects, isMutable, mutable, mutableDraw, mutableErase, numberOfColumns, numberOfLines, width, x, y
public OneColorGelem(java.awt.Color color)
requires: color != null
color
- gelem's colorpublic OneColorGelem(java.awt.Color color, int numberOfLines, int numberOfColumns)
requires: color != null
color
- gelem's colornumberOfLines
- number of linesnumberOfColumns
- number of columns