|
Copyright 2012-02-25 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.beans.AbstractBean
org.jhotdraw.app.AbstractApplicationModel
org.jhotdraw.app.EmptyApplicationModel
ch.randelshofer.multishow.MultiShowApplicationModel
public class MultiShowApplicationModel
MultiShowApplicationModel.
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.app.AbstractApplicationModel |
|---|
allowMultipleViewsForURI, copyright, COPYRIGHT_PROPERTY, name, NAME_PROPERTY, openLastURIOnLaunch, version, VERSION_PROPERTY, VIEW_CLASS_NAME_PROPERTY, VIEW_CLASS_PROPERTY, viewClass, viewClassName |
| Fields inherited from class org.jhotdraw.beans.AbstractBean |
|---|
propertySupport |
| Constructor Summary | |
|---|---|
MultiShowApplicationModel()
|
|
| Method Summary | |
|---|---|
javax.swing.ActionMap |
createActionMap(org.jhotdraw.app.Application a,
org.jhotdraw.app.View v)
Returns an empty ActionMap. |
org.jhotdraw.gui.JFileURIChooser |
createOpenChooser(org.jhotdraw.app.Application a,
org.jhotdraw.app.View v)
Creates an open chooser. |
void |
destroyApplication(org.jhotdraw.app.Application a)
This method is empty. |
PropertyModel |
getApplicationProperties()
|
org.jhotdraw.app.MenuBuilder |
getMenuBuilder()
Returns the abstract factory for building application menus. |
java.lang.String |
getPropertiesFileName()
Returns the properties file name. |
ViewRegistry |
getRegistry()
|
PropertyModel |
getViewProperties()
|
void |
initApplication(org.jhotdraw.app.Application a)
This method is empty. |
void |
loadProperties(java.lang.String propertiesFile)
Loads the properties. |
void |
saveProperties(java.lang.String propertiesFile)
|
| Methods inherited from class org.jhotdraw.app.EmptyApplicationModel |
|---|
createToolBars |
| Methods inherited from class org.jhotdraw.app.AbstractApplicationModel |
|---|
createExportChooser, createImportChooser, createOpenDirectoryChooser, createSaveChooser, createView, destroyView, getCopyright, getName, getVersion, getViewClass, initView, isAllowMultipleViewsPerURI, isOpenLastURIOnLaunch, setAllowMultipleViewsForURI, setCopyright, setName, setOpenLastURIOnLaunch, setVersion, setViewClass, setViewClassName |
| Methods inherited from class org.jhotdraw.beans.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiShowApplicationModel()
| Method Detail |
|---|
public javax.swing.ActionMap createActionMap(org.jhotdraw.app.Application a,
org.jhotdraw.app.View v)
org.jhotdraw.app.EmptyApplicationModel
createActionMap in interface org.jhotdraw.app.ApplicationModelcreateActionMap in class org.jhotdraw.app.EmptyApplicationModela - Application.v - The view for which the toolbars need to be created, or null
if the actions are shared by multiple views.public org.jhotdraw.app.MenuBuilder getMenuBuilder()
org.jhotdraw.app.ApplicationModel
getMenuBuilder in interface org.jhotdraw.app.ApplicationModelgetMenuBuilder in class org.jhotdraw.app.EmptyApplicationModelpublic ViewRegistry getRegistry()
public PropertyModel getApplicationProperties()
public PropertyModel getViewProperties()
public org.jhotdraw.gui.JFileURIChooser createOpenChooser(org.jhotdraw.app.Application a,
org.jhotdraw.app.View v)
org.jhotdraw.app.ApplicationModel
createOpenChooser in interface org.jhotdraw.app.ApplicationModelcreateOpenChooser in class org.jhotdraw.app.AbstractApplicationModela - Application.v - The view for which the chooser needs to be created, or null
if the chooser is shared by multiple views.
public void loadProperties(java.lang.String propertiesFile)
throws java.io.IOException
java.io.IOException
public void saveProperties(java.lang.String propertiesFile)
throws java.io.IOException
java.io.IOExceptionpublic void initApplication(org.jhotdraw.app.Application a)
org.jhotdraw.app.AbstractApplicationModel
initApplication in interface org.jhotdraw.app.ApplicationModelinitApplication in class org.jhotdraw.app.AbstractApplicationModelpublic void destroyApplication(org.jhotdraw.app.Application a)
org.jhotdraw.app.AbstractApplicationModel
destroyApplication in interface org.jhotdraw.app.ApplicationModeldestroyApplication in class org.jhotdraw.app.AbstractApplicationModelpublic java.lang.String getPropertiesFileName()
|
Copyright 2012-02-25 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||