org.virion.jam.framework
Class MultiDocApplication

java.lang.Object
  extended by org.virion.jam.framework.Application
      extended by org.virion.jam.framework.MultiDocApplication
Direct Known Subclasses:
DemoApplication

public class MultiDocApplication
extends Application


Field Summary
 
Fields inherited from class org.virion.jam.framework.Application
aboutAction, exitAction, helpAction, newAction, openAction, pageSetupAction, preferencesAction, websiteAction
 
Constructor Summary
MultiDocApplication(MenuBarFactory menuBarFactory, String nameString, String aboutString, Icon icon)
           
MultiDocApplication(MenuBarFactory menuBarFactory, String nameString, String aboutString, Icon icon, String websiteURLString, String helpURLString)
           
MultiDocApplication(String nameString, String aboutString, Icon icon)
           
MultiDocApplication(String nameString, String aboutString, Icon icon, String websiteURLString, String helpURLString)
           
 
Method Summary
protected  DocumentFrame createDocumentFrame()
           
 void destroyDocumentFrame(DocumentFrame documentFrame)
           
 DocumentFrame doNew()
           
 DocumentFrame doOpenFile(File file)
           
 void doQuit()
           
protected  JFrame getDefaultFrame()
           
 DocumentFrame getDocumentFrame(File file)
           
 DocumentFrame getUpperDocumentFrame()
           
 void initialize()
           
 void setDocumentFrameFactory(DocumentFrameFactory documentFrameFactory)
           
 
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

MultiDocApplication

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

MultiDocApplication

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

MultiDocApplication

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

MultiDocApplication

public MultiDocApplication(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

setDocumentFrameFactory

public void setDocumentFrameFactory(DocumentFrameFactory documentFrameFactory)

getDefaultFrame

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

createDocumentFrame

protected DocumentFrame createDocumentFrame()

destroyDocumentFrame

public void destroyDocumentFrame(DocumentFrame documentFrame)

doNew

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

doOpenFile

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

doQuit

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

getUpperDocumentFrame

public DocumentFrame getUpperDocumentFrame()

getDocumentFrame

public DocumentFrame getDocumentFrame(File file)