|
org.openide.awt 6.11.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
UI Utilities API | |
---|---|
org.openide.awt | A set of utility classes pertaining to the visual appearance of NetBeans. |
API/SPI for UI related aspects of application.
Added a factory class that can create special buttons with a small arrow icon that brings up a popup menu when clicked.
Added a factory class for special JTabbedPane
that displays a small 'close' button in each tab.
When user clicks the close button a PropertyChangeEvent
is fired from the
tabbed pane.
The addition enables to plug in additional logic for action enabling and disabling based on for example authorization information. The added SPI interface is being looked up in the default lookup. If there is no implementation the original behaviour is preserverd.
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.
XXX no answer for arch-usecases
|
|
|
The sources for the module are in NetBeans CVS in openide/awt directory.
Nothing.
Read more about the implementation in the answers to architecture questions.
|
org.openide.awt 6.11.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |