To query if a TopComponent is a multiview component, use
MultiViews.findMultiViewHandler(org.openide.windows.TopComponent)
.
If a 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:
Class | Description |
---|---|
MultiViewHandler |
A handler for the multiview's
TopComponent , obtainable via
MultiViewFactory , that allows
examination of Component's content and programatic changes in visible/activated elements. |
MultiViewPerspective |
Description of multi view element.
|
MultiViews |
Factory class for handling multi views.
|
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.