Crossfire JXClient, Trunk
Public Member Functions | Package Functions | Package Attributes | List of all members
SpreadSheet Class Reference
Inheritance diagram for SpreadSheet:
Inheritance graph
Collaboration diagram for SpreadSheet:
Collaboration graph

Public Member Functions

void destroy ()
 
String getAppletInfo ()
 
String[][] getParameterInfo ()
 
synchronized void init ()
 
void keyPressed (KeyEvent e)
 
void keyReleased (KeyEvent e)
 
void keyTyped (KeyEvent e)
 
void mouseClicked (MouseEvent e)
 
void mouseEntered (MouseEvent e)
 
void mouseExited (MouseEvent e)
 
void mousePressed (MouseEvent e)
 
void mouseReleased (MouseEvent e)
 
synchronized void paint (Graphics g)
 
void recalculate ()
 
void setCurrentValue (float val)
 
void setCurrentValue (int type, String val)
 
void start ()
 
void stop ()
 
void update (Graphics g)
 

Package Functions

float evaluateFormula (Node n)
 

Package Attributes

Color cellColor
 
int cellHeight = 15
 
Cell cells [][]
 
int cellWidth = 100
 
int columns
 
Cell current = null
 
int currentKey = -1
 
boolean fullUpdate = true
 
SpreadSheetInput inputArea
 
Color inputColor
 
Font inputFont
 
boolean isStopped = false
 
int rowLabelWidth = 15
 
int rows
 
int selectedColumn = -1
 
int selectedRow = -1
 
String title
 
Font titleFont
 
int titleHeight = 15
 

Detailed Description

Definition at line 50 of file SpreadSheet.java.

Member Function Documentation

◆ destroy()

void SpreadSheet.destroy ( )

Definition at line 143 of file SpreadSheet.java.

References columns, CellUpdater.run, Cell.updaterThread, and Cell.URL.

◆ evaluateFormula()

float SpreadSheet.evaluateFormula ( Node  n)
package

◆ getAppletInfo()

String SpreadSheet.getAppletInfo ( )

Definition at line 390 of file SpreadSheet.java.

◆ getParameterInfo()

String [][] SpreadSheet.getParameterInfo ( )

Definition at line 395 of file SpreadSheet.java.

◆ init()

synchronized void SpreadSheet.init ( )

Definition at line 73 of file SpreadSheet.java.

References columns, and Cell.setUnparsedValue().

Here is the call graph for this function:

◆ keyPressed()

void SpreadSheet.keyPressed ( KeyEvent  e)

Definition at line 375 of file SpreadSheet.java.

◆ keyReleased()

void SpreadSheet.keyReleased ( KeyEvent  e)

Definition at line 386 of file SpreadSheet.java.

◆ keyTyped()

void SpreadSheet.keyTyped ( KeyEvent  e)

Definition at line 379 of file SpreadSheet.java.

References InputField.processKey().

Here is the call graph for this function:

◆ mouseClicked()

void SpreadSheet.mouseClicked ( MouseEvent  e)

Definition at line 303 of file SpreadSheet.java.

◆ mouseEntered()

void SpreadSheet.mouseEntered ( MouseEvent  e)

Definition at line 367 of file SpreadSheet.java.

◆ mouseExited()

void SpreadSheet.mouseExited ( MouseEvent  e)

Definition at line 371 of file SpreadSheet.java.

◆ mousePressed()

void SpreadSheet.mousePressed ( MouseEvent  e)

Definition at line 307 of file SpreadSheet.java.

References columns, Cell.deselect(), Cell.getPrintString(), Cell.select(), and InputField.setText().

Here is the call graph for this function:

◆ mouseReleased()

void SpreadSheet.mouseReleased ( MouseEvent  e)

Definition at line 363 of file SpreadSheet.java.

◆ paint()

synchronized void SpreadSheet.paint ( Graphics  g)

Definition at line 242 of file SpreadSheet.java.

References columns, Cell.paint(), and InputField.paint().

Here is the call graph for this function:

◆ recalculate()

void SpreadSheet.recalculate ( )

Definition at line 182 of file SpreadSheet.java.

References columns, Cell.FORMULA, Cell.needRedisplay, and Cell.setRawValue().

Referenced by Cell.setTransientValue(), and Cell.setValue().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCurrentValue() [1/2]

void SpreadSheet.setCurrentValue ( float  val)

Definition at line 124 of file SpreadSheet.java.

References Cell.setValue().

Here is the call graph for this function:

◆ setCurrentValue() [2/2]

void SpreadSheet.setCurrentValue ( int  type,
String  val 
)

Definition at line 153 of file SpreadSheet.java.

References Cell.setValue().

Here is the call graph for this function:

◆ start()

void SpreadSheet.start ( )

Definition at line 138 of file SpreadSheet.java.

◆ stop()

void SpreadSheet.stop ( )

Definition at line 133 of file SpreadSheet.java.

◆ update()

void SpreadSheet.update ( Graphics  g)

Definition at line 162 of file SpreadSheet.java.

References columns, and Cell.paint().

Here is the call graph for this function:

Member Data Documentation

◆ cellColor

Color SpreadSheet.cellColor
package

Definition at line 54 of file SpreadSheet.java.

◆ cellHeight

int SpreadSheet.cellHeight = 15
package

Definition at line 57 of file SpreadSheet.java.

◆ cells

Cell SpreadSheet.cells[][]
package

Definition at line 69 of file SpreadSheet.java.

◆ cellWidth

int SpreadSheet.cellWidth = 100
package

Definition at line 56 of file SpreadSheet.java.

◆ columns

int SpreadSheet.columns
package

Definition at line 64 of file SpreadSheet.java.

◆ current

Cell SpreadSheet.current = null
package

Definition at line 70 of file SpreadSheet.java.

◆ currentKey

int SpreadSheet.currentKey = -1
package

Definition at line 65 of file SpreadSheet.java.

◆ fullUpdate

boolean SpreadSheet.fullUpdate = true
package

Definition at line 62 of file SpreadSheet.java.

◆ inputArea

SpreadSheetInput SpreadSheet.inputArea
package

Definition at line 68 of file SpreadSheet.java.

◆ inputColor

Color SpreadSheet.inputColor
package

Definition at line 55 of file SpreadSheet.java.

◆ inputFont

Font SpreadSheet.inputFont
package

Definition at line 60 of file SpreadSheet.java.

◆ isStopped

boolean SpreadSheet.isStopped = false
package

Definition at line 61 of file SpreadSheet.java.

Referenced by CellUpdater.run().

◆ rowLabelWidth

int SpreadSheet.rowLabelWidth = 15
package

Definition at line 59 of file SpreadSheet.java.

◆ rows

int SpreadSheet.rows
package

Definition at line 63 of file SpreadSheet.java.

◆ selectedColumn

int SpreadSheet.selectedColumn = -1
package

Definition at line 67 of file SpreadSheet.java.

◆ selectedRow

int SpreadSheet.selectedRow = -1
package

Definition at line 66 of file SpreadSheet.java.

◆ title

String SpreadSheet.title
package

Definition at line 52 of file SpreadSheet.java.

◆ titleFont

Font SpreadSheet.titleFont
package

Definition at line 53 of file SpreadSheet.java.

◆ titleHeight

int SpreadSheet.titleHeight = 15
package

Definition at line 58 of file SpreadSheet.java.


The documentation for this class was generated from the following file: