org.netbeans.core.api.multiview |
This API allows to access the multiview component's content.
To query if a TopComponent is a multiview component, use
{@link org.netbeans.core.api.multiview.MultiViews#findMultiViewHandler}.
If a {@link org.netbeans.core.api.multiview.MultiViewHandler} instance is
returned, it is a multiview component.
MultiViewHandler can be used to examine the multiview component.
Array
of defined perspectives (elements) and the currently selected
perspective are available.
The handler can be used to switch the
current selection programatically.
Possible usecases include:
- Deciding wheather a certain TopComponentGroup shall be visible or
not.
- Etc.
|
Java Source File Name | Type | Comment |
AccessorImpl.java | Class | |
MultiViewHandler.java | Class | A handler for the multiview's
org.openide.windows.TopComponent , obtainable via
org.netbeans.core.spi.multiview.MultiViewFactory , that allows
examination of Component's content and programatic changes in visible/activated elements. |
MultiViewPerspective.java | Class | Description of multi view element. |
MultiViewPerspectiveComponent.java | Class | View element for multi view, provides the UI components to the multiview component. |
MultiViews.java | Class | Factory class for handling multi views. |