public class SpreadSheetInput extends Cell
app, bgColor, CellAlignment, CellType, CENTER, centered, editable, fgColor, height, initbgColor, initfgColor, itsFontSize, LEFT, RIGHT, SUM, VALUE, width, xLoc, yLoc
Constructor and Description |
---|
SpreadSheetInput(java.lang.String initString,
FrequencyMatrixApplet app,
java.awt.Color bgColor,
java.awt.Color fgColor,
int width,
int height,
int xLoc,
int yLoc,
int CellAlignment)
create a new field from a set of given values from an initial string
|
Modifier and Type | Method and Description |
---|---|
void |
keyDown(char key)
handles a single character for the inputfield
|
appendString, clearCell, drawCell, drawLabel, getString, getValue, paint, setbgColor, setDefaultbgColor, setDefaultfgColor, setfgColor, setFontSize, setLocation, setString, setValue, toString
public SpreadSheetInput(java.lang.String initString, FrequencyMatrixApplet app, java.awt.Color bgColor, java.awt.Color fgColor, int width, int height, int xLoc, int yLoc, int CellAlignment)
initString
- the string to display * @param app the the Applet to which this cell belongs * @param bgColor the background color for the cell * @param fgColor the foreground color for the cell * @param width the width of the cell * @param height the height of the cell * @param xloc the position of the cell in the x dimension * @param yloc the position of the cell in the y dimension * @param CellAlignment the alignement of content in the cellRH, 2017