net.sf.jga.swing.spreadsheet
Class WebStart

java.lang.Object
  extended by net.sf.jga.swing.spreadsheet.Application
      extended by net.sf.jga.swing.spreadsheet.WebStart

public class WebStart
extends Application

An JNLP-based application wrapper for Spreadsheet, providing a main method to allow for standalone use. This version supplies input and output stream services based on the WebStart API.

Copyright © 2004-2005 David A. Hall

Author:
David A. Hall

Constructor Summary
WebStart()
           
 
Method Summary
 int loadFile(Spreadsheet sheet)
          Loads the file via the JNLP FileOpen service
static void main(java.lang.String[] args)
           
 int saveFile(Spreadsheet sheet, boolean promptForName)
          Writes the file via the JNLP FileSave service
 
Methods inherited from class net.sf.jga.swing.spreadsheet.Application
buildConfirmFunctor, buildErrorFunctor, buildLoadFunctor, buildPromptFunctor, buildSaveFunctor, closeWorksheet, createUI, getController, getFileExitCmd, makeDefaultSheet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebStart

public WebStart()
Method Detail

loadFile

public int loadFile(Spreadsheet sheet)
Loads the file via the JNLP FileOpen service

Overrides:
loadFile in class Application

saveFile

public int saveFile(Spreadsheet sheet,
                    boolean promptForName)
Writes the file via the JNLP FileSave service

Overrides:
saveFile in class Application

main

public static void main(java.lang.String[] args)


Copyright © 2002-2006 David A. Hall. All Rights Reserved.