JHotDraw 7.0.9

org.jhotdraw.samples.teddyapplication
Class TeddyMDIApplication

java.lang.Object
  extended by application.Application
      extended by org.jhotdraw.application.AbstractDocumentOrientedApplication
          extended by org.jhotdraw.application.AbstractMDIApplication
              extended by org.jhotdraw.samples.teddyapplication.TeddyMDIApplication
All Implemented Interfaces:
DocumentOrientedApplication

public class TeddyMDIApplication
extends AbstractMDIApplication

TeddyMDIApplication.

Version:
1.0 22. März 2007 Created.
Author:
Werner Randelshofer

Field Summary
 
Fields inherited from class org.jhotdraw.application.AbstractDocumentOrientedApplication
PROP_CURRENT_VIEW, PROP_VIEW_COUNT
 
Constructor Summary
TeddyMDIApplication()
          Creates a new instance.
 
Method Summary
 javax.swing.ActionMap createActionMap()
          Put actions into the application action map, which we haven't defined using the @Action annotation.
 javax.swing.JMenu createEditMenu(DocumentView v)
          Creates the edit menu.
 java.util.LinkedList<javax.swing.JToolBar> createToolBars(DocumentView p)
          Create toolbars.
 javax.swing.JMenu createViewMenu(DocumentView p)
          Creates the view menu.
 java.lang.Class getViewClass()
          Gets the class of the document view.
 
Methods inherited from class org.jhotdraw.application.AbstractMDIApplication
add, createFileMenu, createHelpMenu, createWindowMenu, getComponent, getCurrentView, getDesktopPane, hide, initAWT, initMainFrame, isEditorShared, setCurrentView, show, wrapDesktopPane
 
Methods inherited from class org.jhotdraw.application.AbstractDocumentOrientedApplication
addPalette, addRecentFile, clearRecentFiles, createMenuBar, createMenus, createView, destroyView, getAction, getFrameworkResourceMap, getResourceMap, getViews, initActionMap, initDefaults, initialize, initLookAndFeel, initRecentFiles, initView, isEnabled, launch, recentFiles, remove, removePalette, setEnabled, shutdown, startup, updateName, updateOpenRecentMenu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jhotdraw.application.DocumentOrientedApplication
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

TeddyMDIApplication

public TeddyMDIApplication()
Creates a new instance.

Method Detail

getViewClass

public java.lang.Class getViewClass()
Gets the class of the document view.

Specified by:
getViewClass in class AbstractDocumentOrientedApplication

createActionMap

public javax.swing.ActionMap createActionMap()
Put actions into the application action map, which we haven't defined using the @Action annotation.

Overrides:
createActionMap in class AbstractMDIApplication

createToolBars

public java.util.LinkedList<javax.swing.JToolBar> createToolBars(DocumentView p)
Create toolbars.

Overrides:
createToolBars in class AbstractDocumentOrientedApplication

createEditMenu

public javax.swing.JMenu createEditMenu(DocumentView v)
Creates the edit menu.

Overrides:
createEditMenu in class AbstractDocumentOrientedApplication

createViewMenu

public javax.swing.JMenu createViewMenu(DocumentView p)
Creates the view menu.

Overrides:
createViewMenu in class AbstractDocumentOrientedApplication

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