org.virion.jam.framework
Class SingleDocApplication

java.lang.Object
  extended by org.virion.jam.framework.Application
      extended by org.virion.jam.framework.SingleDocApplication

public class SingleDocApplication
extends Application


Field Summary
 
Fields inherited from class org.virion.jam.framework.Application
aboutAction, exitAction, helpAction, newAction, openAction, pageSetupAction, preferencesAction, websiteAction
 
Constructor Summary
SingleDocApplication(MenuBarFactory menuBarFactory, String nameString, String aboutString, Icon icon)
           
SingleDocApplication(MenuBarFactory menuBarFactory, String nameString, String aboutString, Icon icon, String websiteURLString, String helpURLString)
           
SingleDocApplication(String nameString, String aboutString, Icon icon)
           
SingleDocApplication(String nameString, String aboutString, Icon icon, String websiteURLString, String helpURLString)
           
 
Method Summary
 void doCloseWindow()
           
 DocumentFrame doNew()
           
 DocumentFrame doOpenFile(File file)
           
 void doQuit()
           
protected  JFrame getDefaultFrame()
           
protected  String getDocumentExtension()
           
 void initialize()
           
 void setDocumentFrame(DocumentFrame documentFrame)
           
 
Methods inherited from class org.virion.jam.framework.Application
addMenuFactory, addPreferencesSection, addRecentFile, displayURL, doAbout, doHelp, doOpen, doOpen, doPageSetup, doPreferences, 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

SingleDocApplication

public SingleDocApplication(String nameString,
                            String aboutString,
                            Icon icon)

SingleDocApplication

public SingleDocApplication(String nameString,
                            String aboutString,
                            Icon icon,
                            String websiteURLString,
                            String helpURLString)

SingleDocApplication

public SingleDocApplication(MenuBarFactory menuBarFactory,
                            String nameString,
                            String aboutString,
                            Icon icon)

SingleDocApplication

public SingleDocApplication(MenuBarFactory menuBarFactory,
                            String nameString,
                            String aboutString,
                            Icon icon,
                            String websiteURLString,
                            String helpURLString)
Method Detail

initialize

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

setDocumentFrame

public void setDocumentFrame(DocumentFrame documentFrame)

getDefaultFrame

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

getDocumentExtension

protected String getDocumentExtension()

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