Package com.rubecula.spreadsheet

Spreadsheet Package: sample application for JQuantity.

See:
          Description

Class Summary
AppSpreadsheet This class is the top-level application for the toy spreadsheet.
AppSpreadsheet$1  
AppSpreadsheet$2  
AppSpreadsheet$3  
Area Class to model areas of a spreadsheet.
CellRange This class models a range of cells either rows or columns.
CellTable An instance of this class represents a table of QuantityCell objects.
ErrorPresentation Description: ErrorPresentation is a class used to allow an error message to be presented to the user, instead of a numeric presentation.
Formula Class to manage a list of elements, starting with the operator and continuing with the operands in order.
MenuBar Class to model a menu bar in the spreadsheet application.
MenuItem Menu item class with various defined behaviors.
QuantityCell Objects of this class have various component fields: a Presentation which, if available, if the fastest means of rendering the cell; a Presentable which, if available, is used to refresh the Presentation; an Expression (formula) which, if avilable, is used to refresh the Presentable.
Spreadsheet Description: Spreadsheet class.
SpreadsheetCellEditor A table cell editor class for editing Spreadsheet cells.
SpreadsheetCellRenderer Class to define how to render spreadsheet cells.
SpreadsheetColumn Table column class for Spreadsheet.
SpreadsheetColumnHeaderRenderer A table cell renderer class for rendering spreadsheet column headers.
SpreadsheetColumnModel Column Model class for the Spreadsheet Application.
SpreadsheetFileFilter A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about.
SpreadsheetHeader Class to model table headers for the spreadsheet application.
SpreadsheetModel Class to provide the underlying model for the spreadsheet application.
SpreadsheetRowHeaderRenderer Table Cell Renderer class for the row headers of a spreadsheet.
SpreadsheetRowModel Column Model class for the Spreadsheet Application.
SpreadsheetTable This class is to model the Row Header table.
Text Class to represent text which is the value of a spreadsheet cell.
TextPresentation Class to model the presentation of pure text in a spreadsheet cell.
 

Exception Summary
Formula.FormulaException Static class to define an exception encountered when parsing a formula.
SpreadsheetException Exception class for the spreadsheet application
 

Package com.rubecula.spreadsheet Description

Spreadsheet Package: sample application for JQuantity.

This spreadsheet application is designed and implemented solely as a sample application for the JQuantity package. It does not purport to be a particularly good or useful spreadsheet, although it does work.

It is implemented in Swing.

Invoking the spreadsheet

The AppSpreadsheet.main method takes three optional string run-time arguments:

  1. "JEP": if this argument is present, the JEP expression parser will be used to parse expressions which cannot be parsed by the native parser of the spreadsheet package. The com.rubecula.jarg package must be available, as must the jep.jar.
  2. This is the name of a spreadsheet file which will be automatically opened at startup, assuming it exists.
  3. If the previous argument is present, this is the name of a file to which the opened spreadsheet will be immediately saved after startup.


Last Updated: 2003-04-02