WindowManager
methods directly,
e.g. WindowManager.getModes()
etc.@Deprecated public interface Workspace extends Serializable
Important note: Do not provide implementation of this interface unless you are window system provider!
Modifier and Type | Field and Description |
---|---|
static String |
PROP_DISPLAY_NAME
Deprecated.
Do no use. It is redundant.
|
static String |
PROP_MODES
Deprecated.
Use
WindowManager.PROP_MODES instead. |
static String |
PROP_NAME
Deprecated.
Do no use. It is redundant.
|
static long |
serialVersionUID
Deprecated.
Only public by accident.
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Deprecated.
Do no use. It is redundant.
|
void |
addPropertyChangeListener(PropertyChangeListener list)
Deprecated.
|
Mode |
createMode(String name,
String displayName,
URL icon)
Deprecated.
Do no use. It is redundant. Currently it returns default predefined
Mode instance. |
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. It is redundant.
|
String |
getDisplayName()
Deprecated.
Do no use. It is redundant.
|
Set<? extends Mode> |
getModes()
Deprecated.
Use
WindowManager.getModes() instead. |
String |
getName()
Deprecated.
Do no use. It is redundant.
|
void |
remove()
Deprecated.
Do no use. It is redundant.
|
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.Mode
s 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 null
Mode 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)
WindowManager.addPropertyChangeListener(java.beans.PropertyChangeListener)
instead.list
- the listener to addvoid removePropertyChangeListener(PropertyChangeListener list)
WindowManager.removePropertyChangeListener(java.beans.PropertyChangeListener)
instead.list
- the listener to remove