JHotDraw 7.0.9

org.jhotdraw.samples.odg
Class ODGApplicationModel

java.lang.Object
  extended by org.jhotdraw.beans.AbstractBean
      extended by org.jhotdraw.app.DefaultApplicationModel
          extended by org.jhotdraw.samples.odg.ODGApplicationModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ApplicationModel

public class ODGApplicationModel
extends DefaultApplicationModel

ODGApplicationModel.

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

Field Summary
 
Fields inherited from class org.jhotdraw.beans.AbstractBean
propertySupport
 
Constructor Summary
ODGApplicationModel()
          Creates a new instance.
 
Method Summary
 java.util.LinkedList<javax.swing.JToolBar> createToolBars(Application a, Project p)
          Creates toolbars for the application.
 
Methods inherited from class org.jhotdraw.app.DefaultApplicationModel
createEditMenu, createMenus, createProject, getAction, getCopyright, getName, getProjectClass, getVersion, initApplication, initProject, putAction, setCopyright, setName, setProjectClass, setProjectClassName, setVersion
 
Methods inherited from class org.jhotdraw.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODGApplicationModel

public ODGApplicationModel()
Creates a new instance.

Method Detail

createToolBars

public java.util.LinkedList<javax.swing.JToolBar> createToolBars(Application a,
                                                                 Project p)
Description copied from class: DefaultApplicationModel
Creates toolbars for the application. This class creates a standard toolbar with the following buttons in it:

Specified by:
createToolBars in interface ApplicationModel
Overrides:
createToolBars in class DefaultApplicationModel
Parameters:
a - Application.
p - The project for which the toolbars need to be created, or null if the toolbar needs to be shared with multiple projects.

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.