public interface HasMenuItems
Modifier and Type | Method and Description |
---|---|
boolean |
getMenuItems(java.util.List<java.lang.Object> items)
Returns objects to be displayed under a "Model" menu in the main
ArtiSynth frame.
|
boolean getMenuItems(java.util.List<java.lang.Object> items)
list
argument. The objects should be be items capable of being added to a
JMenu, including Component, JMenuItem, and String.
If the method returns false
(the default behavior), that is
taken to indicate that this component has no menu items.items
- collects the objects that should be addedfalse
if there are no items to add to the
model menu.GuiUtils.createMenuItem(java.awt.event.ActionListener, java.lang.String, java.lang.String)