org.virion.jam.framework
Class Application
java.lang.Object
org.virion.jam.framework.Application
- Direct Known Subclasses:
- ConsoleApplication, MultiDocApplication, SingleDocApplication
public abstract class Application
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newAction
protected AbstractAction newAction
openAction
protected AbstractAction openAction
pageSetupAction
protected AbstractAction pageSetupAction
exitAction
protected AbstractAction exitAction
aboutAction
protected AbstractAction aboutAction
preferencesAction
protected AbstractAction preferencesAction
helpAction
protected AbstractAction helpAction
websiteAction
protected AbstractAction websiteAction
Application
public Application(MenuBarFactory menuBarFactory,
String nameString,
String aboutString,
Icon icon)
Application
public Application(MenuBarFactory menuBarFactory,
String nameString,
String aboutString,
Icon icon,
String websiteURLString,
String helpURLString)
getApplication
public static Application getApplication()
getMenuBarFactory
public static MenuBarFactory getMenuBarFactory()
getIcon
public static Icon getIcon()
getNameString
public static String getNameString()
getAboutString
public static String getAboutString()
getWebsiteURLString
public static String getWebsiteURLString()
getHelpURLString
public static String getHelpURLString()
initialize
public abstract void initialize()
addMenuFactory
public void addMenuFactory(MenuFactory menuFactory)
getRecentFileMenu
public JMenu getRecentFileMenu()
addRecentFile
public void addRecentFile(File file)
getDefaultFrame
protected abstract JFrame getDefaultFrame()
doAbout
public void doAbout()
doHelp
public void doHelp()
doWebsite
public void doWebsite()
displayURL
public void displayURL(String urlString)
doPageSetup
public void doPageSetup()
doOpen
public DocumentFrame doOpen()
doOpen
public DocumentFrame doOpen(String fileName)
doNew
public abstract DocumentFrame doNew()
doOpenFile
public abstract DocumentFrame doOpenFile(File file)
doQuit
public abstract void doQuit()
doPreferences
public void doPreferences()
addPreferencesSection
public void addPreferencesSection(PreferencesSection preferencesSection)
getNewAction
public Action getNewAction()
getOpenAction
public Action getOpenAction()
getPageSetupAction
public Action getPageSetupAction()
getExitAction
public Action getExitAction()
getAboutAction
public Action getAboutAction()
getPreferencesAction
public Action getPreferencesAction()
getHelpAction
public Action getHelpAction()
getWebsiteAction
public Action getWebsiteAction()