JHotDraw 7.0.9

org.jhotdraw.samples.teddyapplication
Class TeddySDIApplication

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

public class TeddySDIApplication
extends AbstractSDIApplication

TeddySDIApplication.

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
TeddySDIApplication()
          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.AbstractSDIApplication
createFileMenu, createHelpMenu, createViewMenu, getComponent, getCurrentView, hide, initAWT, initLookAndFeel, isEditorShared, remove, setCurrentView, show, wrapProjectComponent
 
Methods inherited from class org.jhotdraw.application.AbstractDocumentOrientedApplication
add, addPalette, addRecentFile, clearRecentFiles, createMenuBar, createMenus, createView, createWindowMenu, destroyView, getAction, getFrameworkResourceMap, getResourceMap, getViews, initActionMap, initDefaults, initialize, initMainFrame, initRecentFiles, initView, isEnabled, launch, recentFiles, 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

TeddySDIApplication

public TeddySDIApplication()
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 AbstractSDIApplication

createToolBars

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

Overrides:
createToolBars in class AbstractDocumentOrientedApplication

createViewMenu

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

Overrides:
createViewMenu in class AbstractDocumentOrientedApplication

createEditMenu

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

Overrides:
createEditMenu in class AbstractDocumentOrientedApplication

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