Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.awt 6.7.22
PREV NEXT | FRAMES NO FRAMES

# NetBeans UI Utilities API

See:
Description

UI Utilities API
org.openide.awt | A set of utility classes pertaining to the visual appearance of the IDE.

API/SPI for UI related aspects of application.

### What is New (see all changes)?

- Jun 12 '05 DynamicMenuContent interface added

  In order to support MacOSX top menus and to fix problems with deprecated `JInlineMenu`, this new interface was added that allows to handle dynamic content in Presenter.Menu and Presenter.Popup. If the instance returned by Presenter.Menu/Popup is an instance of DynamicMenuContent, it's methods are consulted when creating/updating the menu. `JInlineMenu` rewritten to use this new approach in a backward compatible way, however changed during visibility of the menu are not supported. `JMenuPlus` and `JPopupMenuPlus` are deprecated and behave exactly like their standard Swing counterparts. `Actions.Submenu` and `Actions.MenuItem` now implement `DynamicMenuContent` interface.

- May 4 '05 Make IDE's status bar pluggable.

  By registering org.openide.awt.StatusLineElementProvider in the default lookup (META-INF/servides) one can provide a custom component that will be incorporated into the IDE's statusbar. The exact location of your component is determined by the ordering of the providers.

- Apr 29 '05 Actions with custom tooltip have tooltip with shortcut in toolbars

  If an action specifies a tooltip, the tooltip of the corresponding toolbar button is augmented with shortcut in the same way as when the action does not specify tooltip.

- Oct 12 '04 Added property to `SystemAction/Action` that causes it's icon not to be displayed in menu.

  `SystemAction putValue("noIconInMenu", Boolean.TRUE)` influences the display of the action in the main menu, the item will have no icon there. Works for Actions that don't define custom MenuPresenter. This property is considered temporary, applications building on top of the platform that don't want this functionality, have to patch the actions' code.

- May 7 '04 Added methods to `HtmlBrowser`

  The methods `getBrowserImpl` and `getBrowserComponent` were added to `HtmlBrowser` for use by core.

### Use Cases

XXX no answer for arch-usecases

### Exported Interfaces

This table lists all of the module exported APIs with defined stability classifications. It is generated based on answers to questions about the architecture of the module. Read them all...

##### Group of java interfaces

Interface Name | In/Out | Stability | Specified in What Document?
org.openide.awt | Exported | Official | .../org/openide/awt/package-summary.html

### Implementation Details

##### Where are the sources for the module?

The sources for the module are in NetBeans CVS in openide/awt directory.

##### What do other modules need to do to declare a dependency on this one?

XXX no answer for deploy-dependencies

Read more about the implementation in the answers to architecture questions.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.awt 6.7.22
PREV NEXT | FRAMES NO FRAMES

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.