public class Cell3D extends Cell
app, bgColor, CellAlignment, CellType, CENTER, centered, editable, fgColor, height, initbgColor, initfgColor, itsFontSize, LEFT, RIGHT, SUM, VALUE, width, xLoc, yLoc
Constructor and Description |
---|
Cell3D(FrequencyMatrixApplet app,
java.awt.Color bgColor,
java.awt.Color fgColor,
boolean editable,
int width,
int height,
int xLoc,
int yLoc,
int CellAlignment)
standard constructor to initialize the cell with a set of values
|
Modifier and Type | Method and Description |
---|---|
void |
drawCell(java.awt.Graphics g)
draws the cell
|
appendString, clearCell, drawLabel, getString, getValue, paint, setbgColor, setDefaultbgColor, setDefaultfgColor, setfgColor, setFontSize, setLocation, setString, setValue, toString
public Cell3D(FrequencyMatrixApplet app, java.awt.Color bgColor, java.awt.Color fgColor, boolean editable, int width, int height, int xLoc, int yLoc, int CellAlignment)
app
- the instance of a frequency matrix application * @param bgColor a background Color * @param fgColor a foreground Color * @param editable can the cell be edited? * @param width the width of the cell in screen pixels * @param height the height of the cell in screen pixels * @param xLoc the horizontal position of the cell in screen pixels * @param yLoc the vertical position of the cell in screen pixels * @param CellAlignment the alignment of the text in the cellRH, 2017