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 applicationbgColor
- a background ColorfgColor
- a foreground Coloreditable
- can the cell be edited?width
- the width of the cell in screen pixelsheight
- the height of the cell in screen pixelsxLoc
- the horizontal position of the cell in screen pixelsyLoc
- the vertical position of the cell in screen pixelsCellAlignment
- the alignment of the text in the cellRH, 2017