Serializablepublic interface Workspace extends Serializable
WindowManager methods directly,
e.g. WindowManager.getModes() etc.Important note: Do not provide implementation of this interface unless you are window system provider!
| Modifier and Type | Field | Description |
|---|---|---|
static String |
PROP_DISPLAY_NAME |
Deprecated.
Do no use.
|
static String |
PROP_MODES |
Deprecated.
Use
WindowManager.PROP_MODES instead. |
static String |
PROP_NAME |
Deprecated.
Do no use.
|
static long |
serialVersionUID |
Deprecated.
Only public by accident.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
activate() |
Deprecated.
Do no use.
|
void |
addPropertyChangeListener(PropertyChangeListener list) |
Deprecated.
|
Mode |
createMode(String name,
String displayName,
URL icon) |
Deprecated.
Do no use.
|
Mode |
findMode(String name) |
Deprecated.
Use
WindowManager.findMode(String) instead. |
Mode |
findMode(TopComponent c) |
Deprecated.
Use
WindowManager.findMode(TopComponent) instead. |
Rectangle |
getBounds() |
Deprecated.
Do no use.
|
String |
getDisplayName() |
Deprecated.
Do no use.
|
Set<? extends Mode> |
getModes() |
Deprecated.
Use
WindowManager.getModes() instead. |
String |
getName() |
Deprecated.
Do no use.
|
void |
remove() |
Deprecated.
Do no use.
|
void |
removePropertyChangeListener(PropertyChangeListener list) |
Deprecated.
|
static final String PROP_MODES
WindowManager.PROP_MODES instead.static final String PROP_NAME
static final String PROP_DISPLAY_NAME
static final long serialVersionUID
String getName()
WindowManager.findWorkspace(java.lang.String).String getDisplayName()
Set<? extends Mode> getModes()
WindowManager.getModes() instead.Modes known on this workspaceRectangle getBounds()
void activate()
Mode createMode(String name, String displayName, URL icon)
Mode instance.name - a unique programmatic name of the modedisplayName - a human presentable (probably localized) name
of the mode (may be used by
the Dock Into submenu, e.g.)icon - a URL to the icon to use for the mode (e.g. on a tab or window corner);
may be nullMode findMode(String name)
WindowManager.findMode(String) instead.name - the name of the mode to search fornull if no such mode
can be foundMode findMode(TopComponent c)
WindowManager.findMode(TopComponent) instead.c - component to find mode forvoid remove()
void addPropertyChangeListener(PropertyChangeListener list)
list - the listener to addvoid removePropertyChangeListener(PropertyChangeListener list)
list - the listener to removeBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.