|
org.openide.awt 6.7.31 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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.
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.
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.
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.
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.
HtmlBrowser
The methods getBrowserImpl
and
getBrowserComponent
were added to HtmlBrowser
for use by core.
XXX no answer for arch-usecases
|
The sources for the module are in NetBeans CVS in openide/awt directory.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.
|
org.openide.awt 6.7.31 | |||||||||
PREV NEXT | FRAMES NO FRAMES |