org.virion.jam.console
Class ConsoleApplication

java.lang.Object
  extended by org.virion.jam.framework.Application
      extended by org.virion.jam.console.ConsoleApplication

public class ConsoleApplication
extends Application


Field Summary
 
Fields inherited from class org.virion.jam.framework.Application
aboutAction, exitAction, helpAction, newAction, openAction, pageSetupAction, preferencesAction, websiteAction
 
Constructor Summary
ConsoleApplication(MenuBarFactory menuBarFactory, String nameString, String aboutString, Icon icon, boolean dontAskSave)
           
ConsoleApplication(String nameString, String aboutString, Icon icon, boolean dontAskSave)
           
 
Method Summary
 void doCloseWindow()
           
 DocumentFrame doNew()
           
 DocumentFrame doOpenFile(File file)
           
 void doPreferences()
           
 void doQuit()
           
 void doStop()
           
protected  JFrame getDefaultFrame()
           
 void initialize()
           
 
Methods inherited from class org.virion.jam.framework.Application
addMenuFactory, addPreferencesSection, addRecentFile, displayURL, doAbout, doHelp, doOpen, doOpen, doPageSetup, doWebsite, getAboutAction, getAboutString, getApplication, getExitAction, getHelpAction, getHelpURLString, getIcon, getMenuBarFactory, getNameString, getNewAction, getOpenAction, getPageSetupAction, getPreferencesAction, getRecentFileMenu, getWebsiteAction, getWebsiteURLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleApplication

public ConsoleApplication(String nameString,
                          String aboutString,
                          Icon icon,
                          boolean dontAskSave)
                   throws IOException
Throws:
IOException

ConsoleApplication

public ConsoleApplication(MenuBarFactory menuBarFactory,
                          String nameString,
                          String aboutString,
                          Icon icon,
                          boolean dontAskSave)
                   throws IOException
Throws:
IOException
Method Detail

initialize

public void initialize()
Specified by:
initialize in class Application

getDefaultFrame

protected JFrame getDefaultFrame()
Specified by:
getDefaultFrame in class Application

doNew

public DocumentFrame doNew()
Specified by:
doNew in class Application

doOpenFile

public DocumentFrame doOpenFile(File file)
Specified by:
doOpenFile in class Application

doCloseWindow

public void doCloseWindow()

doQuit

public void doQuit()
Specified by:
doQuit in class Application

doPreferences

public void doPreferences()
Overrides:
doPreferences in class Application

doStop

public void doStop()