Package com.rubecula.spreadsheet

Spreadsheet Package: sample application for JQuantity.

See:
          Description

Class Summary
Area Class to model areas of a spreadsheet.
CellEditor A table cell editor class for editing Spreadsheet cells.
CellRange This class models a range of cells either rows or columns.
CellRenderer Class to define how to render spreadsheet cells.
CellTable An instance of this class represents a table of QuantityCell objects.
CellWorkarea Class to define how to render spreadsheet cells in the special workarea, that is to say with layout - not just pure text.
Column Table column class for Spreadsheet.
ColumnHeaderRenderer A table cell renderer class for rendering spreadsheet column headers.
ColumnModel Column Model class for the Spreadsheet Application.
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.
Header Class to model table headers for the spreadsheet application.
HelpPane Class which provides a primitive browser for help purposes.
HelpPane$1  
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.
RowHeaderRenderer Table Cell Renderer class for the row headers of a spreadsheet.
RowModel Row Model class for the Spreadsheet Application.
SampleApplication This class is the top-level application for the toy spreadsheet.
SampleApplication$1  
ScrollingSpreadsheet This class extends JScrollPane by associating it with a Spreadsheet.
ScrollingSpreadsheet$1  
Spreadsheet Description: Spreadsheet class.
SpreadsheetFileFilter A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about.
Table This class is to model both the body of a spreadsheet and the row header table.
TableModel Class to provide the underlying model for the spreadsheet application.
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 nor useful spreadsheet, although it does work. The quality of the Javadoc and adherence to good programming practices are distinctly sub-par.

Use at your own risk.

It is implemented in Swing.

Invoking the spreadsheet

The SampleApplication.main method takes four optional string run-time arguments:

  1. "debug": if this argument is present, various debug statements are turned on, especially in the area of expression parsing and evaluation.
  2. "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.jep package must be available, as must the jep.jar.
  3. This is the name of a spreadsheet file which will be automatically opened at startup, assuming it exists.
  4. If the previous argument is present, this is the name of a file to which the opened spreadsheet will be immediately saved after startup.

Dependencies

This package requires Java 1.3.1 or above.

The following non-standard packages are required at compile time:

The following classes will be loaded at runtime:


Last Updated: 2003-04-22