|
JHotDraw 7.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.app.DefaultMenuBuilder
public class DefaultMenuBuilder
DefaultMenuBuilder
.
Constructor Summary | |
---|---|
DefaultMenuBuilder()
|
Method Summary | |
---|---|
void |
addAboutItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: AboutAction
|
void |
addClearFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: ClearFileAction
|
void |
addClipboardItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: CutAction
CopyAction
PasteAction
DuplicateAction
DeleteAction
|
void |
addCloseFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: CloseFileAction
|
void |
addExitItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: ExitAction
|
void |
addExportFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: ExportFileAction
|
void |
addFindItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: AbstractFindAction
|
void |
addHelpItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing. |
void |
addLoadFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: LoadFileAction
LoadDirectoryAction
|
void |
addNewFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: NewFileAction
|
void |
addNewWindowItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: NewWindowAction
|
void |
addOpenFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: OpenFileAction
OpenDirectoryAction
|
void |
addOtherEditItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing. |
void |
addOtherFileItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing. |
void |
addOtherMenus(java.util.List<javax.swing.JMenu> m,
Application app,
View v)
Does nothing. |
void |
addOtherViewItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing. |
void |
addOtherWindowItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing. |
void |
addPreferencesItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: AbstractPreferencesAction
|
void |
addPrintFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: PrintFileAction
|
void |
addSaveFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: SaveFileAction
SaveFileAsAction
|
void |
addSelectionItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: SelectAllAction
ClearSelectionAction
|
void |
addUndoItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu: UndoAction
RedoAction
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMenuBuilder()
Method Detail |
---|
public void addPreferencesItems(javax.swing.JMenu m, Application app, @Nullable View v)
addPreferencesItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addExitItems(javax.swing.JMenu m, Application app, @Nullable View v)
addExitItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addClearFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addClearFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addNewWindowItems(javax.swing.JMenu m, Application app, @Nullable View v)
addNewWindowItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addNewFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addNewFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addLoadFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addLoadFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOpenFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addOpenFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addCloseFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addCloseFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addSaveFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addSaveFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addExportFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addExportFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addPrintFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addPrintFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherFileItems(javax.swing.JMenu m, Application app, @Nullable View v)
addOtherFileItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addUndoItems(javax.swing.JMenu m, Application app, @Nullable View v)
addUndoItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addClipboardItems(javax.swing.JMenu m, Application app, @Nullable View v)
addClipboardItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addSelectionItems(javax.swing.JMenu m, Application app, @Nullable View v)
addSelectionItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addFindItems(javax.swing.JMenu m, Application app, @Nullable View v)
addFindItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherEditItems(javax.swing.JMenu m, Application app, @Nullable View v)
addOtherEditItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherViewItems(javax.swing.JMenu m, Application app, @Nullable View v)
addOtherViewItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherMenus(java.util.List<javax.swing.JMenu> m, Application app, @Nullable View v)
addOtherMenus
in interface MenuBuilder
m
- A (potentially non-empty) list of menus.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherWindowItems(javax.swing.JMenu m, Application app, @Nullable View v)
addOtherWindowItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addHelpItems(javax.swing.JMenu m, Application app, @Nullable View v)
addHelpItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addAboutItems(javax.swing.JMenu m, Application app, @Nullable View v)
addAboutItems
in interface MenuBuilder
m
- A (potentially non-empty) menu.app
- The Application for which the menu is built.v
- A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |