CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.cubetwister
Class CubeTwisterApplicationModel

java.lang.Object
  extended by org.jhotdraw.beans.AbstractBean
      extended by org.jhotdraw.app.AbstractApplicationModel
          extended by org.jhotdraw.app.DefaultApplicationModel
              extended by ch.randelshofer.cubetwister.CubeTwisterApplicationModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.jhotdraw.app.ApplicationModel

public class CubeTwisterApplicationModel
extends org.jhotdraw.app.DefaultApplicationModel

CubeTwisterApplicationModel.

Version:
1.0 January 11, 2007 Created.
Author:
Werner Randelshofer
See Also:
Serialized Form

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
CubeTwisterApplicationModel()
          Creates a new instance.
 
Method Summary
 javax.swing.ActionMap createActionMap(org.jhotdraw.app.Application a, org.jhotdraw.app.View v)
          Returns an ActionMap with a default set of actions (See class comments).
 org.jhotdraw.gui.JFileURIChooser createExportChooser(org.jhotdraw.app.Application a, org.jhotdraw.app.View v)
          Returns createSaveChooser.
protected  org.jhotdraw.app.MenuBuilder createMenuBuilder()
          Creates the DefaultMenuBuilder.
 org.jhotdraw.gui.JFileURIChooser createSaveChooser(org.jhotdraw.app.Application a, org.jhotdraw.app.View v)
          Creates a save chooser.
 java.util.List<javax.swing.JToolBar> createToolBars(org.jhotdraw.app.Application a, org.jhotdraw.app.View p)
          Returns an empty unmodifiable list.
 void initApplication(org.jhotdraw.app.Application a)
          This method is empty.
 
Methods inherited from class org.jhotdraw.app.DefaultApplicationModel
getMenuBuilder, initView, setMenuBuilder
 
Methods inherited from class org.jhotdraw.app.AbstractApplicationModel
createImportChooser, createOpenChooser, createOpenDirectoryChooser, createView, destroyApplication, destroyView, getCopyright, getName, getVersion, getViewClass, 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

CubeTwisterApplicationModel

public CubeTwisterApplicationModel()
Creates a new instance.

Method Detail

createToolBars

public java.util.List<javax.swing.JToolBar> createToolBars(org.jhotdraw.app.Application a,
                                                           org.jhotdraw.app.View p)
Description copied from class: org.jhotdraw.app.DefaultApplicationModel
Returns an empty unmodifiable list.

Specified by:
createToolBars in interface org.jhotdraw.app.ApplicationModel
Overrides:
createToolBars in class org.jhotdraw.app.DefaultApplicationModel
Parameters:
a - Application.
p - The view for which the toolbars need to be created, or null if the toolbars are shared by multiple views.

initApplication

public void initApplication(org.jhotdraw.app.Application a)
Description copied from class: org.jhotdraw.app.AbstractApplicationModel
This method is empty.

Specified by:
initApplication in interface org.jhotdraw.app.ApplicationModel
Overrides:
initApplication in class org.jhotdraw.app.AbstractApplicationModel

createActionMap

public javax.swing.ActionMap createActionMap(org.jhotdraw.app.Application a,
                                             org.jhotdraw.app.View v)
Description copied from class: org.jhotdraw.app.DefaultApplicationModel
Returns an ActionMap with a default set of actions (See class comments).

Specified by:
createActionMap in interface org.jhotdraw.app.ApplicationModel
Overrides:
createActionMap in class org.jhotdraw.app.DefaultApplicationModel
Parameters:
a - Application.
v - The view for which the toolbars need to be created, or null if the actions are shared by multiple views.

createMenuBuilder

protected org.jhotdraw.app.MenuBuilder createMenuBuilder()
Description copied from class: org.jhotdraw.app.DefaultApplicationModel
Creates the DefaultMenuBuilder.

Overrides:
createMenuBuilder in class org.jhotdraw.app.DefaultApplicationModel

createExportChooser

public org.jhotdraw.gui.JFileURIChooser createExportChooser(org.jhotdraw.app.Application a,
                                                            org.jhotdraw.app.View v)
Description copied from class: org.jhotdraw.app.AbstractApplicationModel
Returns createSaveChooser.

Specified by:
createExportChooser in interface org.jhotdraw.app.ApplicationModel
Overrides:
createExportChooser in class org.jhotdraw.app.AbstractApplicationModel
Parameters:
a - Application.
v - The view for which the chooser needs to be created, or null if the chooser is shared by multiple views.

createSaveChooser

public org.jhotdraw.gui.JFileURIChooser createSaveChooser(org.jhotdraw.app.Application a,
                                                          org.jhotdraw.app.View v)
Description copied from interface: org.jhotdraw.app.ApplicationModel
Creates a save chooser.

Specified by:
createSaveChooser in interface org.jhotdraw.app.ApplicationModel
Overrides:
createSaveChooser in class org.jhotdraw.app.AbstractApplicationModel
Parameters:
a - Application.
v - The view for which the chooser needs to be created, or null if the chooser is shared by multiple views.

(c) Werner Randelshofer.
All rights reserved.