|
JHotDraw 7.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationModel
ApplicationModel.
Method Summary | |
---|---|
java.util.List<javax.swing.JMenu> |
createMenus(Application a,
Project p)
Creates menus. |
Project |
createProject()
Creates a new project for the application. |
java.util.List<javax.swing.JToolBar> |
createToolBars(Application a,
Project p)
Creates tool bars. |
javax.swing.Action |
getAction(java.lang.String id)
Returns the action with the specified id. |
java.lang.String |
getCopyright()
Returns the copyright of the application. |
java.lang.String |
getName()
Returns the name of the application. |
java.lang.String |
getVersion()
Returns the version of the application. |
void |
initApplication(Application a)
|
void |
initProject(Application a,
Project p)
|
void |
putAction(java.lang.String id,
javax.swing.Action action)
Puts an action with the specified id. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getVersion()
java.lang.String getCopyright()
Project createProject()
void initProject(Application a, Project p)
void initApplication(Application a)
void putAction(java.lang.String id, javax.swing.Action action)
javax.swing.Action getAction(java.lang.String id)
java.util.List<javax.swing.JToolBar> createToolBars(Application a, Project p)
Depending on the document interface of the application, this method may be invoked only once for the application, or for each opened project.
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.java.util.List<javax.swing.JMenu> createMenus(Application a, Project p)
Depending on the document interface of the application, this method may be invoked only once for the application, or for each opened project.
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. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |