Modifier and Type | Method and Description |
---|---|
Mode |
Workspace.createMode(String name,
String displayName,
URL icon)
Deprecated.
Do no use. It is redundant. Currently it returns default predefined
Mode instance. |
abstract Mode |
WindowManager.findMode(String name)
Finds mode of specified name.
|
Mode |
Workspace.findMode(String name)
Deprecated.
Use
WindowManager.findMode(String) instead. |
abstract Mode |
WindowManager.findMode(TopComponent tc)
Finds mode which contains specified
TopComponent . |
Mode |
Workspace.findMode(TopComponent c)
Deprecated.
Use
WindowManager.findMode(TopComponent) instead. |
Mode |
ModeSelector.selectModeForOpen(TopComponent tc,
Mode preselectedMode)
Choose a suitable Mode to open the TopComponent in.
|
Modifier and Type | Method and Description |
---|---|
List<Mode> |
TopComponent.availableModes(List<Mode> modes)
Allows top component to specify list of modes into which can be docked
by end user.
|
abstract Set<? extends Mode> |
WindowManager.getModes()
Gets set of all
Mode S added into window system. |
Set<? extends Mode> |
Workspace.getModes()
Deprecated.
Use
WindowManager.getModes() instead. |
Modifier and Type | Method and Description |
---|---|
TopComponent[] |
WindowManager.getOpenedTopComponents(Mode mode)
Convenience method to retrieve the list of all opened TopComponents for
given mode.
|
boolean |
WindowManager.isEditorMode(Mode mode)
Check whether the given Mode holds editor windows.
|
Mode |
ModeSelector.selectModeForOpen(TopComponent tc,
Mode preselectedMode)
Choose a suitable Mode to open the TopComponent in.
|
Modifier and Type | Method and Description |
---|---|
List<Mode> |
TopComponent.availableModes(List<Mode> modes)
Allows top component to specify list of modes into which can be docked
by end user.
|
Built on December 10 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.