Class JMenuBarOperator
java.lang.Object
org.netbeans.jemmy.operators.Operator
org.netbeans.jemmy.operators.ComponentOperator
org.netbeans.jemmy.operators.ContainerOperator
org.netbeans.jemmy.operators.JComponentOperator
org.netbeans.jemmy.operators.JMenuBarOperator
- All Implemented Interfaces:
Outputable, Timeoutable
Timeouts used:
JMenuOperator.WaitBeforePopupTimeout - time to sleep before popup expanding
JMenuOperator.WaitPopupTimeout - time to wait popup displayed
ComponentOperator.WaitComponentTimeout - time to wait button displayed
.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classChecks component type.Nested classes/interfaces inherited from class JComponentOperator
JComponentOperator.JComponentByTipFinder, JComponentOperator.JComponentFinderNested classes/interfaces inherited from class ContainerOperator
ContainerOperator.ContainerFinderNested classes/interfaces inherited from class Operator
Operator.ComponentVisualizer, Operator.DefaultPathParser, Operator.DefaultStringComparator, Operator.Finder, Operator.MapAction, Operator.MapBooleanAction, Operator.MapByteAction, Operator.MapCharacterAction, Operator.MapDoubleAction, Operator.MapFloatAction, Operator.MapIntegerAction, Operator.MapLongAction, Operator.MapVoidAction, Operator.NoBlockingAction, Operator.PathParser, Operator.StringComparator -
Field Summary
FieldsFields inherited from class JComponentOperator
A11Y_DATA, A11Y_DESCRIPTION_DPROP, A11Y_NAME_DPROP, TOOLTIP_TEXT_DPROPFields inherited from class ComponentOperator
HEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROPFields inherited from class Operator
CLASS_DPROP, TO_STRING_DPROP -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructor.JMenuBarOperator(ContainerOperator cont, ComponentChooser chooser) Constructs a JMenuBarOperator object.JMenuBarOperator(ContainerOperator cont, ComponentChooser chooser, int index) Constructs a JMenuBarOperator object. -
Method Summary
Modifier and TypeMethodDescriptionMapsJMenuBar.add(JMenu)through queuevoidCloses all expanded submenus.voidcopyEnvironment(Operator anotherOperator) Copies all environment (output, timeouts, visualizer) from another operator.static JMenuBarfindJMenuBar(Container cont) Waits JMenuBar in container.static JMenuBarfindJMenuBar(JDialog dialog) Searches JMenuBar in dialog.static JMenuBarfindJMenuBar(JFrame frame) Searches JMenuBar in frame.intgetComponentIndex(Component component) MapsJMenuBar.getComponentIndex(Component)through queuegetDump()Returns information about component.MapsJMenuBar.getHelpMenu()through queueMapsJMenuBar.getMargin()through queuegetMenu(int i) MapsJMenuBar.getMenu(int)through queueintMapsJMenuBar.getMenuCount()through queueReturns print output streams or writers.MapsJMenuBar.getSelectionModel()through queueMapsJMenuBar.getSubElements()through queueReturn current timeouts.getUI()MapsJMenuBar.getUI()through queuebooleanMapsJMenuBar.isBorderPainted()through queuebooleanMapsJMenuBar.isSelected()through queuevoidmenuSelectionChanged(boolean b) MapsJMenuBar.menuSelectionChanged(boolean)through queuevoidprocessKeyEvent(KeyEvent keyEvent, MenuElement[] menuElement, MenuSelectionManager menuSelectionManager) MapsJMenuBar.processKeyEvent(KeyEvent, MenuElement[], MenuSelectionManager)through queuevoidprocessMouseEvent(MouseEvent mouseEvent, MenuElement[] menuElement, MenuSelectionManager menuSelectionManager) MapsJMenuBar.processMouseEvent(MouseEvent, MenuElement[], MenuSelectionManager)through queuePushes menu.Pushes menu.Deprecated.Use pushMenu(String[]) or pushMenu(String[], StringComparator)pushMenu(String[] names, Operator.StringComparator comparator) Pushes menu.Pushes menu.Deprecated.Use pushMenu(String, String) or pushMenu(String, String, StringComparator)pushMenu(String path, String delim, Operator.StringComparator comparator) Pushes menu.pushMenu(String path, Operator.StringComparator comparator) Pushes menu.pushMenu(ComponentChooser[] choosers) Pushes menu.voidpushMenuNoBlock(String path) ExecutespushMenu(path)in a separate thread.voidpushMenuNoBlock(String[] names) ExecutespushMenu(names)in a separate thread.voidpushMenuNoBlock(String[] names, boolean ce, boolean ccs) Deprecated.Use pushMenuNoBlock(String[]) or pushMenuNoBlock(String[], StringComparator)voidpushMenuNoBlock(String[] names, Operator.StringComparator comparator) ExecutespushMenu(names, ce, ccs)in a separate thread.voidpushMenuNoBlock(String path, String delim) ExecutespushMenu(path, delim)in a separate thread.voidpushMenuNoBlock(String path, String delim, boolean ce, boolean ccs) Deprecated.Use pushMenuNoBlock(String, String) or pushMenuNoBlock(String, String, StringComparator)voidpushMenuNoBlock(String path, String delim, Operator.StringComparator comparator) ExecutespushMenu(names, delim, comparator)in a separate thread.voidpushMenuNoBlock(String path, Operator.StringComparator comparator) ExecutespushMenu(names, comparator)in a separate thread.voidpushMenuNoBlock(ComponentChooser[] choosers) ExecutespushMenu(choosers)in a separate thread.voidsetBorderPainted(boolean b) MapsJMenuBar.setBorderPainted(boolean)through queuevoidsetHelpMenu(JMenu jMenu) MapsJMenuBar.setHelpMenu(JMenu)through queuevoidMapsJMenuBar.setMargin(Insets)through queuevoid/////////////////////////////////////////////////////voidsetSelected(Component component) MapsJMenuBar.setSelected(Component)through queuevoidsetSelectionModel(SingleSelectionModel singleSelectionModel) MapsJMenuBar.setSelectionModel(SingleSelectionModel)through queuevoidsetTimeouts(Timeouts times) Defines current timeouts.voidMapsJMenuBar.setUI(MenuBarUI)through queueshowMenuItem(String path) Expands all menus to show menu item specified by apathparameter.showMenuItem(String[] path) Expands all menus to show menu item specified by apathparameter.showMenuItem(String[] path, Operator.StringComparator comparator) Expends all menus to show menu item specified by apathparameter.showMenuItem(String path, String delim) Expands all menus to show menu item specified by apathparameter.showMenuItem(String path, String delim, Operator.StringComparator comparator) Expands all menus to show menu item specified by apathparameter.showMenuItem(String path, Operator.StringComparator comparator) Expands all menus to show menu item specified by apathparameter.showMenuItem(ComponentChooser[] choosers) showMenuItems(String path) Shows submenu of menu specified by apathparameter.showMenuItems(String[] path) Shows submenu of menu specified by apathparameter.showMenuItems(String[] path, Operator.StringComparator comparator) Shows submenu of menu specified by apathparameter.showMenuItems(String path, String delim) Shows submenu of menu specified by apathparameter.showMenuItems(String path, String delim, Operator.StringComparator comparator) Shows submenu of menu specified by apathparameter.showMenuItems(String path, Operator.StringComparator comparator) Shows submenu of menu specified by apathparameter.showMenuItems(ComponentChooser[] choosers) static JMenuBarwaitJMenuBar(Container cont) Searches JMenuBar in container.static JMenuBarwaitJMenuBar(JDialog dialog) Waits JMenuBar in dialog.static JMenuBarwaitJMenuBar(JFrame frame) Waits JMenuBar in frame.Methods inherited from class JComponentOperator
addAncestorListener, addVetoableChangeListener, computeVisibleRect, createToolTip, findJComponent, findJComponent, findJComponent, findJComponent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getAutoscrolls, getBorder, getCenterXForClick, getCenterYForClick, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getInsets, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVisibleRect, getWindowContainerOperator, grabFocus, isFocusCycleRoot, isManagingFocus, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, requestDefaultFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, showToolTip, unregisterKeyboardAction, updateUI, waitJComponent, waitJComponent, waitJComponent, waitJComponent, waitToolTipMethods inherited from class ContainerOperator
add, add, add, add, add, addContainerListener, createSubOperator, createSubOperator, findComponentAt, findComponentAt, findContainer, findContainer, findContainer, findContainer, findContainerUnder, findContainerUnder, findSubComponent, findSubComponent, getComponent, getComponentCount, getComponents, getInsets, getLayout, isAncestorOf, paintComponents, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, waitContainer, waitContainer, waitContainer, waitContainer, waitSubComponent, waitSubComponentMethods inherited from class ComponentOperator
activateWindow, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, checkImage, checkImage, clickForPopup, clickForPopup, clickForPopup, clickForPopup, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, contains, contains, createImage, createImage, dispatchEvent, doLayout, dragMouse, dragMouse, dragMouse, dragNDrop, dragNDrop, dragNDrop, enableInputMethods, enterMouse, exitMouse, findComponent, findComponent, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getCenterX, getCenterY, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getContainer, getContainers, getCursor, getDropTarget, getEventDispatcher, getFocus, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getSize, getSource, getToolkit, getTreeLock, getWidth, getWindow, getX, getY, hasFocus, imageUpdate, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, list, list, list, list, list, makeComponentVisible, moveMouse, paint, paintAll, prepareImage, prepareImage, pressKey, pressKey, pressMouse, pressMouse, print, printAll, pushKey, pushKey, releaseKey, releaseKey, releaseMouse, releaseMouse, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, transferFocus, typeKey, typeKey, typeKey, update, validate, waitComponent, waitComponent, waitComponent, waitComponent, waitComponentEnabled, waitComponentShowing, waitComponentVisible, waitHasFocus, wtComponentEnabledMethods inherited from class Operator
addOperatorPackage, addToDump, addToDump, createOperator, getCharBindingMap, getCharKey, getCharModifiers, getCharsKeys, getCharsKeys, getCharsModifiers, getCharsModifiers, getComparator, getDefaultComponentVisualizer, getDefaultMouseButton, getDefaultPathParser, getDefaultStringComparator, getDefaultVerification, getEnvironmentOperator, getParentPath, getParentPath, getPathParser, getPopupMouseButton, getProperties, getQueueTool, getVerification, getVisualizer, isCaptionEqual, isCaptionEqual, isCaptionEqual, lockQueue, parseString, parseString, printDump, produceNoBlocking, produceNoBlocking, produceTimeRestricted, produceTimeRestricted, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, setCharBindingMap, setComparator, setDefaultComponentVisualizer, setDefaultPathParser, setDefaultStringComparator, setDefaultVerification, setPathParser, setProperties, setVerification, setVisualizer, toStringSource, unlockAndThrow, unlockQueue, waitState
-
Field Details
-
SUBMENU_PREFIX_DPROP
-
-
Constructor Details
-
JMenuBarOperator
-
JMenuBarOperator
Constructs a JMenuBarOperator object.- Parameters:
cont- a containerchooser- a component chooser specifying searching criteria.index- an index between appropriate ones.
-
JMenuBarOperator
Constructs a JMenuBarOperator object.- Parameters:
cont- a containerchooser- a component chooser specifying searching criteria.
-
JMenuBarOperator
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.- Parameters:
cont- Operator pointing a container to search component in.- Throws:
TimeoutExpiredException
-
-
Method Details
-
findJMenuBar
-
findJMenuBar
-
waitJMenuBar
Searches JMenuBar in container.- Parameters:
cont- a container- Returns:
- found JMenuBar
- Throws:
TimeoutExpiredException
-
waitJMenuBar
Waits JMenuBar in frame.- Parameters:
frame- a container- Returns:
- found JMenuBar
- Throws:
TimeoutExpiredException
-
waitJMenuBar
Waits JMenuBar in dialog.- Parameters:
dialog- a container- Returns:
- found JMenuBar
- Throws:
TimeoutExpiredException
-
findJMenuBar
-
setOutput
Description copied from class:ComponentOperator/////////////////////////////////////////////////////- Specified by:
setOutputin interfaceOutputable- Overrides:
setOutputin classJComponentOperator- Parameters:
out- Identify the streams or writers used for print output.- See Also:
-
getOutput
Description copied from interface:OutputableReturns print output streams or writers.- Specified by:
getOutputin interfaceOutputable- Overrides:
getOutputin classJComponentOperator- Returns:
- an object that contains references to objects for printing to output and err streams.
- See Also:
-
setTimeouts
Description copied from interface:TimeoutableDefines current timeouts.- Specified by:
setTimeoutsin interfaceTimeoutable- Overrides:
setTimeoutsin classJComponentOperator- Parameters:
times- A collection of timeout assignments.- See Also:
-
getTimeouts
Description copied from interface:TimeoutableReturn current timeouts.- Specified by:
getTimeoutsin interfaceTimeoutable- Overrides:
getTimeoutsin classJComponentOperator- Returns:
- the collection of current timeout assignments.
- See Also:
-
copyEnvironment
Description copied from class:OperatorCopies all environment (output, timeouts, visualizer) from another operator.- Overrides:
copyEnvironmentin classComponentOperator- Parameters:
anotherOperator- an operator to copy the environment to.
-
pushMenu
Pushes menu.- Parameters:
choosers- Array of choosers to find menuItems to push.- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException
-
pushMenuNoBlock
ExecutespushMenu(choosers)in a separate thread.- Parameters:
choosers- Array of choosers to find menuItems to push.- See Also:
-
pushMenu
Pushes menu.- Parameters:
names- an array of menu texts.comparator- a string comparision algorithm- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException
-
pushMenu
Deprecated.Use pushMenu(String[]) or pushMenu(String[], StringComparator)Pushes menu.- Parameters:
names- Menu items texts.ce- Compare text exactly.ccs- Compare text case sensitively.- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException- See Also:
-
pushMenuNoBlock
ExecutespushMenu(names, ce, ccs)in a separate thread.- Parameters:
names- an array of menu texts.comparator- a string comparision algorithm
-
pushMenuNoBlock
Deprecated.Use pushMenuNoBlock(String[]) or pushMenuNoBlock(String[], StringComparator)ExecutespushMenu(names, ce, ccs)in a separate thread.- Parameters:
names- Menu items texts.ce- Compare text exactly.ccs- Compare text case sensitively.- See Also:
-
pushMenu
Pushes menu.- Parameters:
names- Menu items texts.- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException
-
pushMenuNoBlock
ExecutespushMenu(names)in a separate thread.- Parameters:
names- Menu items texts.- See Also:
-
pushMenu
Pushes menu.- Parameters:
path- a menu path.delim- a path delimiter.comparator- a string comparision algorithm- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException
-
pushMenu
Pushes menu. Uses PathParser assigned to this operator.- Parameters:
path- a menu path.comparator- a string comparision algorithm- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException
-
pushMenu
Deprecated.Use pushMenu(String, String) or pushMenu(String, String, StringComparator)Pushes menu.- Parameters:
path- String menupath representation ("File/New", for example).delim- String menupath divider ("/").ce- Compare text exactly.ccs- Compare text case sensitively.- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException- See Also:
-
pushMenuNoBlock
ExecutespushMenu(names, delim, comparator)in a separate thread.- Parameters:
path- a menu path.delim- a path delimiter.comparator- a string comparision algorithm
-
pushMenuNoBlock
ExecutespushMenu(names, comparator)in a separate thread. Uses PathParser assigned to this operator.- Parameters:
path- a menu path.comparator- a string comparision algorithm
-
pushMenuNoBlock
Deprecated.Use pushMenuNoBlock(String, String) or pushMenuNoBlock(String, String, StringComparator)ExecutespushMenu(path, delim, ce, ccs)in a separate thread.- Parameters:
path- String menupath representation ("File/New", for example).delim- String menupath divider ("/").ce- Compare text exactly.ccs- Compare text case sensitively.- See Also:
-
pushMenu
Pushes menu.- Parameters:
path- String menupath representation ("File/New", for example).delim- String menupath divider ("/").- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException
-
pushMenu
Pushes menu. Uses PathParser assigned to this operator.- Parameters:
path- String menupath representation ("File/New", for example).- Returns:
- Last pushed JMenuItem.
- Throws:
TimeoutExpiredException
-
pushMenuNoBlock
-
pushMenuNoBlock
ExecutespushMenu(path)in a separate thread.- Parameters:
path- String menupath representation ("File/New", for example).
-
showMenuItems
-
showMenuItems
Shows submenu of menu specified by apathparameter.- Parameters:
path- an array of menu texts.comparator- a string comparision algorithm- Returns:
- an array of operators created tor items from the submenu.
- Throws:
TimeoutExpiredException
-
showMenuItems
Shows submenu of menu specified by apathparameter. Uses StringComparator assigned to the operator.- Parameters:
path- an array of menu texts.- Returns:
- an array of operators created tor items from the submenu.
- Throws:
TimeoutExpiredException
-
showMenuItems
public JMenuItemOperator[] showMenuItems(String path, String delim, Operator.StringComparator comparator) Shows submenu of menu specified by apathparameter.- Parameters:
path- a string identifying the menu path.delim- a path delimiter.comparator- a string comparision algorithm- Returns:
- an array of operators created tor items from the submenu.
- Throws:
TimeoutExpiredException
-
showMenuItems
Shows submenu of menu specified by apathparameter. Uses PathParser assigned to this operator.- Parameters:
path- a string identifying the menu path.comparator- a string comparision algorithm- Returns:
- an array of operators created tor items from the submenu.
- Throws:
TimeoutExpiredException
-
showMenuItems
Shows submenu of menu specified by apathparameter. Uses StringComparator assigned to the operator.- Parameters:
path- a string identifying the menu path.delim- a path delimiter.- Returns:
- an array of operators created tor items from the submenu.
- Throws:
TimeoutExpiredException
-
showMenuItems
Shows submenu of menu specified by apathparameter. Uses PathParser assigned to this operator. Uses StringComparator assigned to the operator.- Parameters:
path- a string identifying the menu path.- Returns:
- an array of operators created tor items from the submenu.
- Throws:
TimeoutExpiredException
-
showMenuItem
-
showMenuItem
Expends all menus to show menu item specified by apathparameter.- Parameters:
path- an array of menu texts.comparator- a string comparision algorithm- Returns:
- an operator for the last menu item in path.
- Throws:
TimeoutExpiredException
-
showMenuItem
Expands all menus to show menu item specified by apathparameter.- Parameters:
path- an array of menu texts.- Returns:
- an operator for the last menu item in path.
- Throws:
TimeoutExpiredException
-
showMenuItem
public JMenuItemOperator showMenuItem(String path, String delim, Operator.StringComparator comparator) Expands all menus to show menu item specified by apathparameter.- Parameters:
path- a string identifying the menu path.delim- a path delimiter.comparator- a string comparision algorithm- Returns:
- an operator for the last menu item in path.
- Throws:
TimeoutExpiredException
-
showMenuItem
Expands all menus to show menu item specified by apathparameter. Uses PathParser assigned to this operator.- Parameters:
path- a string identifying the menu path.comparator- a string comparision algorithm- Returns:
- an operator for the last menu item in path.
- Throws:
TimeoutExpiredException
-
showMenuItem
Expands all menus to show menu item specified by apathparameter. Uses StringComparator assigned to the operator.- Parameters:
path- a string identifying the menu path.delim- a path delimiter.- Returns:
- an operator for the last menu item in path.
- Throws:
TimeoutExpiredException
-
showMenuItem
Expands all menus to show menu item specified by apathparameter. Uses PathParser assigned to this operator. Uses StringComparator assigned to the operator.- Parameters:
path- a string identifying the menu path.- Returns:
- an array of operators created tor items from the submenu.
- Throws:
TimeoutExpiredException
-
getDump
Description copied from class:ComponentOperatorReturns information about component.- Overrides:
getDumpin classJComponentOperator- Returns:
- a Hashtable containing name-value pairs.
-
add
-
getComponentIndex
MapsJMenuBar.getComponentIndex(Component)through queue -
getHelpMenu
MapsJMenuBar.getHelpMenu()through queue -
getMargin
MapsJMenuBar.getMargin()through queue -
getMenu
MapsJMenuBar.getMenu(int)through queue -
getMenuCount
public int getMenuCount()MapsJMenuBar.getMenuCount()through queue -
getSelectionModel
MapsJMenuBar.getSelectionModel()through queue -
getSubElements
MapsJMenuBar.getSubElements()through queue -
getUI
MapsJMenuBar.getUI()through queue -
isBorderPainted
public boolean isBorderPainted()MapsJMenuBar.isBorderPainted()through queue -
isSelected
public boolean isSelected()MapsJMenuBar.isSelected()through queue -
processKeyEvent
public void processKeyEvent(KeyEvent keyEvent, MenuElement[] menuElement, MenuSelectionManager menuSelectionManager) MapsJMenuBar.processKeyEvent(KeyEvent, MenuElement[], MenuSelectionManager)through queue -
processMouseEvent
public void processMouseEvent(MouseEvent mouseEvent, MenuElement[] menuElement, MenuSelectionManager menuSelectionManager) MapsJMenuBar.processMouseEvent(MouseEvent, MenuElement[], MenuSelectionManager)through queue -
setBorderPainted
public void setBorderPainted(boolean b) MapsJMenuBar.setBorderPainted(boolean)through queue -
setHelpMenu
MapsJMenuBar.setHelpMenu(JMenu)through queue -
setMargin
MapsJMenuBar.setMargin(Insets)through queue -
setSelected
MapsJMenuBar.setSelected(Component)through queue -
setSelectionModel
MapsJMenuBar.setSelectionModel(SingleSelectionModel)through queue -
setUI
MapsJMenuBar.setUI(MenuBarUI)through queue
-