|
org.netbeans.core.multiview/1 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.core.api.multiview.MultiViewHandler
public final class 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.
Method Summary | |
---|---|
MultiViewPerspective[] |
getPerspectives()
Returns the array of MultiViewPerspective s that the TopComponent is composed of. |
MultiViewPerspective |
getSelectedPerspective()
Returns the currently selected MultiViewPerspective in the TopComponent . |
void |
requestActive(MultiViewPerspective desc)
Requests focus for the MultiViewPerspective passed as parameter, if necessary
will switch from previously selected MultiViewPerspective |
void |
requestVisible(MultiViewPerspective desc)
Changes the visible MultiViewPerspective to the one passed as parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public MultiViewPerspective[] getPerspectives()
MultiViewPerspective
s that the TopComponent
is composed of.
public MultiViewPerspective getSelectedPerspective()
MultiViewPerspective
in the TopComponent
.
It's element can be either visible or activated.
public void requestActive(MultiViewPerspective desc)
MultiViewPerspective
passed as parameter, if necessary
will switch from previously selected MultiViewPerspective
desc
- the new active selectionpublic void requestVisible(MultiViewPerspective desc)
MultiViewPerspective
to the one passed as parameter.
desc
- the new selection
|
org.netbeans.core.multiview/1 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |