org.openide.windows |
Most parts of NetBeans do not manipulate windows directly, but use
special
top components.
The
Window System API
provides the ability for modules to create window-like components which
can, among other things:
- Be docked as tabs into a container window.
- Provide popup menus in their window icon or tab.
- Handle activation and node selections.
- Provide the ability to be cloned, and the clones monitored.
|
Java Source File Name | Type | Comment |
CloneableOpenSupport.java | Class | Simple support for an openable objects. |
CloneableTopComponent.java | Class | A top component which may be cloned.
Typically cloning is harmless, i.e. |
ContextAwareActionInTopComponentTest.java | Class | Tests behaviour of GlobalContextProviderImpl
and its cooperation with activated and current nodes. |
DefaultTopComponentLookup.java | Class | Contents of the lookup for a top component. |
DelegateActionMap.java | Class | ActionMap that delegates to current action map of provided component.
Used in TopComopnent lookup.
Note: This action map is 'passive', i.e putting new mappings
into it makes no effect. |
DummyWindowManager.java | Class | Trivial window manager that just keeps track of "workspaces" and "modes"
according to contract but does not really use them, and just opens all
top components in their own frames.
Useful in case core-windows.jar is not installed, e.g. |
ExternalDropHandler.java | Class | When an implementation of this class is available in the global Lookup and
an object is being dragged over some parts of the main window of the IDE then
the window system may call methods of this class to decide whether it can
accept or reject the drag operation. |
GlobalContextImplTest.java | Class | Tests behaviour of GlobalContextProviderImpl
and its cooperation with activated and current nodes. |
InputOutput.java | Interface | An I/O connection to one tab on the Output Window. |
IOProvider.java | Class | A factory for IO tabs shown in the output window. |
Mode.java | Interface | Instances of this interface represent places or containers
which TopComponent has to be added to
in order to be managed by window system. |
OutputEvent.java | Class | Event fired when something happens to a line in the Output Window. |
OutputListener.java | Interface | Listener to actions taken on a line in the Output Window. |
OutputWriter.java | Class | A PrintWriter subclass for writing to a tab in the output window. |
PreventNeedlessChangesOfActionMapTest.java | Class | |
TopComponent.java | Class | Embeddable visual component to be displayed in NetBeans.
This is the basic unit of display--windows should not be
created directly, but rather use this class.
A top component may correspond to a single window, but may also
be a tab (e.g.) in a window. |
TopComponentGetLookupTest.java | Class | Check the behaviour of TopComponent's lookup. |
TopComponentGroup.java | Interface | Represents window group. |
TopComponentLookupToNodesBridge.java | Class | Checks behaviour of a bridge that listens on a provided lookup
and initializes activated nodes according to the nodes in the
lookup. |
TopComponentTest.java | Class | |
WindowManager.java | Class | Manages window system.
Allows the work with window system components, i.e. |
WindowManagerHid.java | Class | A piece of the test compatibility suite for the execution APIs. |
WindowSystemCompatibilityTest.java | Class | Tests that a window system implementation conforms to the expected
behaviour. |
Workspace.java | Interface | Represents one user workspace that holds a list of modes into which
components can be assigned. |