API/SPI for UI related aspects of application.
Use Cases
For general overview of the concepts of NetBeans action system and related UI elements,
together with code samples, see chapter 5,
of NetBeans Platform for Beginners
by Jason Wexbridge and Walter Nyland.
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
Group of property interfaces
Group of branding interfaces
Interface Name | In/Out | Stability | Specified in What Document? |
USE_MNEMONICS | Exported | Stable |
There is a way to enable mnemonics in popup menu items created via
Actions factory methods
in your own application build on top of NetBeans Platform.
Just provide branding for org/openide/awt/Bundle.properties
file and modify USE_MNEMONICS=always . Other possible values
of this key include default , never or always .
|
|
Group of logger interfaces
Interface Name | In/Out | Stability | Specified in What Document? |
org.netbeans.ui.actions.UI_ACTION_BUTTON_PRESS | Exported | Friend |
There is a special support for notifying when an action wrapped by
Actions bridge is
invoked and how. The support is using
Logger.getLogger("org.netbeans.ui.actions")
and sents a LogRecord
with message UI_ACTION_BUTTON_PRESS ,
FINER level
and paramerters:
- {0} instance of the button
- {1} class of the button
- {2} instance of the action
- {3} class of the action
- {4} display name of the action
whenever such action is invoked. This message can then be consumed
by enhanced UI logger that track what the user is going.
|
|
Group of systemproperty interfaces
Interface Name | In/Out | Stability | Specified in What Document? |
org.openide.awt.StatusDisplayer.DISPLAY_TIME | Exported | Friend |
Status text set in StatusDisplayer is
by default shown in status line of NetBeans and is hidden after specified timeout.
If not overriden by this property it is done after 5000ms.
O means that the last text will be shown and not removed.
|
org.openide.awt.ActionReference.completion | Exported | Under Development |
If System.getProperty("org.openide.awt.ActionReference.completion")
is specified, then the dedicated processor for ActionReference
tries to load such class, casts it to
Processor
and asks it for additional completion items for its
path attribute. By default, when running inside NetBeans IDE,
apisupport.project registers such class and provides
items representing valid paths in current project.
|
|
Group of lookup interfaces
Interface Name | In/Out | Stability | Specified in What Document? |
ButtonActionConnectorSPI | Exported | Friend |
Objects implementing
ButtonActionConnector are
looked up. Only the first instance found in the loookup is used to provide an alternative implementation
of connection between Actions and GUI components. If there isn't one
in the lookup the default implementation is used (it means there does
not have to be one).
|
|
Group of layer interfaces
Implementation Details
Where are the sources for the module?
The sources for the module are in the
NetBeans Mercurial repositories.
What do other modules need to do to declare a dependency on this one, in addition to or instead of a plain module dependency?
Nothing.
Read more about the implementation in the answers to
architecture questions.