public class MainMenu extends javax.swing.JMenuBar
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MainMenu.PresetsMenuEnabler |
static class |
MainMenu.WINDOW_MENU_GROUP |
javax.swing.JMenuBar.AccessibleJMenuBar
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
AboutAction |
about
Help / About
|
AddNodeAction |
addNode
Tools / Add Node...
|
AlignInCircleAction |
alignInCircle
Tools / Align Nodes in Circle
|
AlignInLineAction |
alignInLine
Tools / Align Nodes in Line
|
JosmAction |
audioBack
Audio / Back
|
JosmAction |
audioFaster
Audio / Faster
|
JosmAction |
audioFwd
Audio / Forward
|
javax.swing.JMenu |
audioMenu
audioMenu contains all audio-related actions.
|
JosmAction |
audioNext
Audio / Next marker
|
JosmAction |
audioPlayPause
Audio / Play/Pause
|
JosmAction |
audioPrev
Audio / Previous Marker
|
JosmAction |
audioSlower
Audio / Slower
|
java.util.Map<java.lang.String,AutoScaleAction> |
autoScaleActions
View / "Zoom to"...
|
ChangesetManagerToggleAction |
changesetManager
Windows / Changeset Manager
|
CloseChangesetAction |
closeChangesetAction
File / Close open changesets...
|
CombineWayAction |
combineWay
Tools / Combine Way
|
CopyAction |
copy
Edit / Copy
|
JosmAction |
copyCoordinates
Edit / Copy Coordinates
|
CreateCircleAction |
createCircle
Tools / Create Circle
|
CreateMultipolygonAction |
createMultipolygon
Tools / Create multipolygon
|
javax.swing.JMenu |
dataMenu
dataMenu contains plugin actions that are related to certain tagging schemes (addressing opening hours),
importing external data and using external web APIs
|
private static int |
defaultMenuPos |
DeleteAction |
delete
Edit / Delete
|
DeleteLayerAction |
deleteLayerAction
File / Delete Layer
|
DialogsToggleAction |
dialogsToggleAction
Toggle visibility of dialogs panel
|
DistributeAction |
distribute
Tools / Distribute Nodes
|
DownloadAction |
download
File / Download from OSM...
|
DownloadOsmInViewAction |
downloadInView
File / Download in current view
|
DownloadNotesInViewAction |
downloadNotesInView
File / Download notes in current view
|
DownloadPrimitiveAction |
downloadPrimitive
File / Download object...
|
DownloadReferrersAction |
downloadReferrers
File / Download parent ways/relations...
|
DrawBoundariesOfDownloadedDataAction |
drawBoundariesOfDownloadedDataAction
View / Hatch area outside download
|
DuplicateAction |
duplicate
Edit / Duplicate
|
javax.swing.JMenu |
editMenu
editMenu contains editing actions
|
ExitAction |
exit
File / Exit
|
javax.swing.JMenu |
fileMenu
fileMenu contains I/O actions
|
FollowLineAction |
followLine
Tools / Follow line
|
FullscreenToggleAction |
fullscreenToggleAction
Toggle the full-screen mode
|
javax.swing.JMenu |
gpsMenu
gpsMenu contains all plugin actions that are related
to using GPS data, including opening, uploading and real-time tracking
|
GpxExportAction |
gpxExport
File / Export to GPX...
|
HelpAction |
help
Help / Help
|
javax.swing.JMenu |
helpMenu
helpMenu contains JOSM general actions (Help, About, etc.)
|
HistoryInfoAction |
historyinfo
View / History
|
HistoryInfoWebAction |
historyinfoweb
View / History (web)
|
ImageryMenu |
imageryMenu
imageryMenu contains all imagery-related actions
|
javax.swing.JMenu |
imagerySubMenu
submenu in Imagery menu that contains plugin-managed additional imagery layers
|
InfoAction |
info
View / Advanced info
|
InfoWebAction |
infoweb
View / Advanced info (web)
|
JoinAreasAction |
joinAreas
Tools / Join overlapping Areas
|
JoinNodeWayAction |
joinNodeWay
Tools / Join Node to Way
|
JumpToAction |
jumpToAct
View / Jump to position
|
static javax.swing.event.MenuListener |
menuSeparatorHandler
this menu listener hides unnecessary JSeparators in a menu list but does not remove them.
|
MergeLayerAction |
merge
Edit / Merge layer
|
MergeNodesAction |
mergeNodes
Tools / Merge Nodes
|
MergeSelectionAction |
mergeSelected
Edit / Merge selection
|
MirrorAction |
mirror
Tools / Mirror
|
javax.swing.JMenu |
moreToolsMenu
moreToolsMenu contains geometry-related actions from all the plugins
|
JosmAction |
moveDownAction
Move the selection down
|
JosmAction |
moveLeftAction
Move the selection left
|
MoveNodeAction |
moveNode
Tools / Move Node...
|
JoinNodeWayAction |
moveNodeOntoWay
Tools / Join Way to Node
|
JosmAction |
moveRightAction
Move the selection right
|
JosmAction |
moveUpAction
Move the selection up
|
NewAction |
newAction
File / New Layer
|
SelectNonBranchingWaySequencesAction |
nonBranchingWaySequences
Selection / Non-branching way sequences
|
OpenFileAction |
openFile
File / Open...
|
OpenLocationAction |
openLocation
File / Open Location...
|
OrthogonalizeAction |
ortho
Tools / Orthogonalize Shape
|
OrthogonalizeAction.Undo |
orthoUndo
Orthogonalize undo.
|
PasteAction |
paste
Edit / Paste
|
private PasteAtSourcePositionAction |
pasteAtSource
Edit / Paste at source
|
PasteTagsAction |
pasteTags
Edit / Paste Tags
|
PreferencesAction |
preferences
Edit / Preferences
|
TaggingPresetSearchAction |
presetSearchAction
Search tagging presets
|
TaggingPresetSearchPrimitiveDialog.Action |
presetSearchPrimitiveAction
Search objects by their tagging preset
|
javax.swing.JMenu |
presetsMenu
presetsMenu contains presets actions (search, presets tree)
|
JosmAction |
purge
Edit / Purge...
|
RecentlyOpenedFilesMenu |
recentlyOpened
File / Open Recent >
|
RedoAction |
redo
Edit / Redo
|
ReorderImageryLayersAction |
reorderImageryLayersAction
Reorder imagery layers
|
ReportBugAction |
reportbug
Help / Report bug
|
RestartAction |
restart
File / Restart
|
ReverseWayAction |
reverseWay
Tools / Reverse Ways
|
SaveAction |
save
File / Save
|
SaveAsAction |
saveAs
File / Save As...
|
SearchAction |
search
Edit / Search...
|
SearchNotesDownloadAction |
searchNotes
File / Search Notes...
|
SelectAllAction |
selectAll
Selection / Select All
|
javax.swing.JMenu |
selectionMenu
selectionMenu contains all actions related to selecting different objects
|
SessionSaveAsAction |
sessionSaveAs
File / Session > Save Session As...
|
SimplifyWayAction |
simplifyWay
Tools / Simplify Way
|
SplitWayAction |
splitWay
Tools / Split Way
|
ShowStatusReportAction |
statusreport
Help / Show Status Report
|
javax.swing.JMenu |
toolsMenu
toolsMenu contains different geometry manipulation actions from JOSM core (most used)
The plugins should use other menus
|
UndoAction |
undo
Edit / Undo...
|
UnGlueAction |
unglueNodes
Tools / Unglue Ways
|
UnJoinNodeWayAction |
unJoinNodeWay
Tools / Disconnect Node from Way
|
UnselectAllAction |
unselectAll
Selection / Unselect All
|
JosmAction |
update
File / Update data
|
JosmAction |
updateModified
File / Update modified
|
CreateMultipolygonAction |
updateMultipolygon
Tools / Update multipolygon
|
JosmAction |
updateSelection
File / Update selection
|
JosmAction |
upload
File / Upload data
|
JosmAction |
uploadSelection
File / Upload selection
|
javax.swing.JMenu |
viewMenu
viewMenu contains display actions (zoom, map styles, etc.)
|
javax.swing.JMenu |
windowMenu
the window menu is split into several groups.
|
WireframeToggleAction |
wireFrameToggleAction
View / Wireframe View
|
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
MainMenu() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.JMenuItem |
add(javax.swing.JMenu menu,
JosmAction action)
Add a JosmAction at the end of a menu.
|
static javax.swing.JMenuItem |
add(javax.swing.JMenu menu,
JosmAction action,
boolean isExpert)
Add a JosmAction at the end of a menu.
|
static javax.swing.JMenuItem |
add(javax.swing.JMenu menu,
JosmAction action,
boolean isExpert,
java.lang.Integer index)
Add a JosmAction at the end of a menu.
|
static <E extends java.lang.Enum<E>> |
add(javax.swing.JMenu menu,
JosmAction action,
java.lang.Enum<E> group)
Add a JosmAction to a menu.
|
static javax.swing.JMenuItem |
addAfter(javax.swing.JMenu menu,
JosmAction actionToBeInserted,
boolean isExpert,
JosmAction existingMenuEntryAction)
Add the JosmAction
actionToBeInserted directly below existingMenuEntryAction . |
javax.swing.JMenu |
addMenu(java.lang.String name,
java.lang.String translatedName,
int mnemonicKey,
int position,
java.lang.String relativeHelpTopic)
Creates a menu and adds it on the given position to the main menu.
|
<T extends javax.swing.JMenu> |
addMenu(T menu,
java.lang.String name,
int mnemonicKey,
int position,
java.lang.String relativeHelpTopic)
Adds the given menu on the given position to the main menu.
|
static <E extends java.lang.Enum<E>> |
addWithCheckbox(javax.swing.JMenu menu,
JosmAction action,
java.lang.Enum<E> group)
Add a JosmAction to a menu and automatically prints accelerator if available.
|
private static void |
findMenuItems(javax.swing.JMenu menu,
java.lang.String textToFind,
java.util.List<javax.swing.JMenuItem> result)
Recursive walker for menu items.
|
java.util.List<javax.swing.JMenuItem> |
findMenuItems(java.lang.String textToFind,
boolean skipPresets)
Search main menu for items with
textToFind in title. |
int |
getDefaultMenuPos() |
private static int |
getInsertionIndexForGroup(javax.swing.JMenu menu,
int group)
Finds the correct insertion index for a given group and adds separators if necessary
|
void |
initialize()
Initialize the main menu.
|
protected void |
showAudioMenu(boolean showMenu) |
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, getUIClassID, isBorderPainted, isSelected, menuSelectionChanged, paintBorder, paramString, processKeyBinding, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUI
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public final OpenFileAction openFile
public final RecentlyOpenedFilesMenu recentlyOpened
public final OpenLocationAction openLocation
public final DeleteLayerAction deleteLayerAction
public final SaveAction save
public final SaveAsAction saveAs
public SessionSaveAsAction sessionSaveAs
public final GpxExportAction gpxExport
public final DownloadAction download
public final DownloadOsmInViewAction downloadInView
public final DownloadPrimitiveAction downloadPrimitive
public final DownloadNotesInViewAction downloadNotesInView
public final SearchNotesDownloadAction searchNotes
public final DownloadReferrersAction downloadReferrers
public final CloseChangesetAction closeChangesetAction
public final JosmAction update
public final JosmAction updateSelection
public final JosmAction updateModified
public final JosmAction upload
public final JosmAction uploadSelection
public final RestartAction restart
public final ExitAction exit
public final UndoAction undo
public final RedoAction redo
public final CopyAction copy
public final JosmAction copyCoordinates
public final PasteAction paste
private final PasteAtSourcePositionAction pasteAtSource
public final PasteTagsAction pasteTags
public final DuplicateAction duplicate
public final DeleteAction delete
public final JosmAction purge
public final MergeLayerAction merge
public final MergeSelectionAction mergeSelected
public final SearchAction search
public final PreferencesAction preferences
public final WireframeToggleAction wireFrameToggleAction
public final DrawBoundariesOfDownloadedDataAction drawBoundariesOfDownloadedDataAction
public final InfoAction info
public final InfoWebAction infoweb
public final HistoryInfoAction historyinfo
public final HistoryInfoWebAction historyinfoweb
public final java.util.Map<java.lang.String,AutoScaleAction> autoScaleActions
public final JumpToAction jumpToAct
public final SplitWayAction splitWay
public final CombineWayAction combineWay
public final ReverseWayAction reverseWay
public final SimplifyWayAction simplifyWay
public final AlignInCircleAction alignInCircle
public final AlignInLineAction alignInLine
public final DistributeAction distribute
public final OrthogonalizeAction ortho
public final OrthogonalizeAction.Undo orthoUndo
public final MirrorAction mirror
public final FollowLineAction followLine
public final AddNodeAction addNode
public final MoveNodeAction moveNode
public final CreateCircleAction createCircle
public final MergeNodesAction mergeNodes
public final JoinNodeWayAction joinNodeWay
public final JoinNodeWayAction moveNodeOntoWay
public final UnJoinNodeWayAction unJoinNodeWay
public final UnGlueAction unglueNodes
public final JoinAreasAction joinAreas
public final CreateMultipolygonAction createMultipolygon
public final CreateMultipolygonAction updateMultipolygon
public final SelectAllAction selectAll
public final UnselectAllAction unselectAll
public final SelectNonBranchingWaySequencesAction nonBranchingWaySequences
public final JosmAction audioPlayPause
public final JosmAction audioNext
public final JosmAction audioPrev
public final JosmAction audioFwd
public final JosmAction audioBack
public final JosmAction audioFaster
public final JosmAction audioSlower
public final ChangesetManagerToggleAction changesetManager
public final HelpAction help
public final AboutAction about
public final ShowStatusReportAction statusreport
public final ReportBugAction reportbug
public final javax.swing.JMenu fileMenu
public final javax.swing.JMenu editMenu
public final javax.swing.JMenu viewMenu
public final javax.swing.JMenu toolsMenu
public final javax.swing.JMenu moreToolsMenu
public final javax.swing.JMenu dataMenu
public final javax.swing.JMenu selectionMenu
public final javax.swing.JMenu presetsMenu
public final javax.swing.JMenu imagerySubMenu
public final ImageryMenu imageryMenu
public final javax.swing.JMenu gpsMenu
public final javax.swing.JMenu windowMenu
public javax.swing.JMenu audioMenu
public final javax.swing.JMenu helpMenu
private static final int defaultMenuPos
public final JosmAction moveUpAction
public final JosmAction moveDownAction
public final JosmAction moveLeftAction
public final JosmAction moveRightAction
public final ReorderImageryLayersAction reorderImageryLayersAction
public final TaggingPresetSearchAction presetSearchAction
public final TaggingPresetSearchPrimitiveDialog.Action presetSearchPrimitiveAction
public final DialogsToggleAction dialogsToggleAction
public FullscreenToggleAction fullscreenToggleAction
public static final javax.swing.event.MenuListener menuSeparatorHandler
public MainMenu()
public int getDefaultMenuPos()
public static javax.swing.JMenuItem add(javax.swing.JMenu menu, JosmAction action)
menu
- the menu to add the action toaction
- the action that should get a menu itempublic static javax.swing.JMenuItem add(javax.swing.JMenu menu, JosmAction action, boolean isExpert)
menu
- the menu to add the action toaction
- the action that should get a menu itemisExpert
- whether the entry should only be visible if the expert mode is activatedpublic static javax.swing.JMenuItem add(javax.swing.JMenu menu, JosmAction action, boolean isExpert, java.lang.Integer index)
menu
- the menu to add the action toaction
- the action that should get a menu itemisExpert
- whether the entry should only be visible if the expert mode is activatedindex
- an integer specifying the position at which to add the actionpublic static javax.swing.JMenuItem addAfter(javax.swing.JMenu menu, JosmAction actionToBeInserted, boolean isExpert, JosmAction existingMenuEntryAction)
actionToBeInserted
directly below existingMenuEntryAction
.
This method handles all the shortcut handling. It also makes sure that actions that are
handled by the OS are not duplicated on the menu.menu
- the menu to add the action toactionToBeInserted
- the action that should get a menu item directly below existingMenuEntryAction
isExpert
- whether the entry should only be visible if the expert mode is activatedexistingMenuEntryAction
- an action already added to the menu menu
,
the action actionToBeInserted
is added directly belowpublic static <E extends java.lang.Enum<E>> javax.swing.JMenuItem add(javax.swing.JMenu menu, JosmAction action, java.lang.Enum<E> group)
E
- group item enum typemenu
- to add the action toaction
- the action that should get a menu itemgroup
- the item should be added to. Groups are split by a separator.
0 is the first group, -1 will add the item to the end.public static <E extends java.lang.Enum<E>> javax.swing.JCheckBoxMenuItem addWithCheckbox(javax.swing.JMenu menu, JosmAction action, java.lang.Enum<E> group)
E
- group enum item typemenu
- to add the action toaction
- the action that should get a menu itemgroup
- the item should be added to. Groups are split by a separator. Use
one of the enums that are defined for some of the menus to tell in which
group the item should go.private static int getInsertionIndexForGroup(javax.swing.JMenu menu, int group)
menu
- menugroup
- group numberpublic javax.swing.JMenu addMenu(java.lang.String name, java.lang.String translatedName, int mnemonicKey, int position, java.lang.String relativeHelpTopic)
name
- the untranslated name (used as identifier for shortcut registration)translatedName
- the translated menu name (use I18n.trc("menu", name)
to allow better internationalizationmnemonicKey
- the mnemonic key to registerposition
- the position in the main menurelativeHelpTopic
- the relative help topicpublic <T extends javax.swing.JMenu> T addMenu(T menu, java.lang.String name, int mnemonicKey, int position, java.lang.String relativeHelpTopic)
T
- menu typemenu
- the menu to addname
- the untranslated name (used as identifier for shortcut registration)mnemonicKey
- the mnemonic key to registerposition
- the position in the main menurelativeHelpTopic
- the relative help topicpublic void initialize()
public java.util.List<javax.swing.JMenuItem> findMenuItems(java.lang.String textToFind, boolean skipPresets)
textToFind
in title.textToFind
- The text to findskipPresets
- whether to skip the presetsMenu
in the searchprivate static void findMenuItems(javax.swing.JMenu menu, java.lang.String textToFind, java.util.List<javax.swing.JMenuItem> result)
textToFind
it's appended to result.menu
- menu in which search will be performedtextToFind
- The text to findresult
- resulting list of menu itemsprotected void showAudioMenu(boolean showMenu)