Lines Matching defs:menu

44  * <li>Open an about dialog when a user chooses About from the application menu.</li>
45 * <li>Open a preferences window when the users chooses Preferences from the application menu.</li>
50 * <li>Cleanly shutdown your application when the user chooses Quit from the application menu, Dock icon, or types Command-Q.</li>
154 * Installs a handler to create the Preferences menu item in your application's app menu.
156 * Setting the {@link PreferencesHandler} to <code>null</code> will remove the Preferences item from the app menu.
313 * @param menu the PopupMenu to attach to this application's Dock icon
318 public void setDockMenu(final PopupMenu menu) {
319 iconHandler.setDockMenu(menu);
369 * Sets the default menu bar to use when there are no active frames.
434 * Enables the Preferences item in the application menu. The ApplicationListener receives a callback for
435 * selection of the Preferences item in the application menu only if this is set to <code>true</code>.
439 * @param enable specifies whether the Preferences item in the application menu should be enabled (<code>true</code>) or not (<code>false</code>)
451 * Enables the About item in the application menu. The ApplicationListener receives a callback for
452 * selection of the About item in the application menu only if this is set to <code>true</code>. Because AWT supplies
457 * @param enable specifies whether the About item in the application menu should be enabled (<code>true</code>) or not (<code>false</code>)
468 * Determines if the Preferences item of the application menu is enabled.
479 * Determines if the About item of the application menu is enabled.
490 * Determines if the About item of the application menu is present.
501 * Adds the About item to the application menu if the item is not already present.
512 * Removes the About item from the application menu if the item is present.
523 * Determines if the About Preferences of the application menu is present. By default there is no Preferences menu item.
534 * Adds the Preferences item to the application menu if the item is not already present.
545 * Removes the Preferences item from the application menu if that item is present.