|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents one user workspace that holds a list of modes into which components can be assigned. Created by WindowManager. When serialized only keeps "weak" reference to this workspace does not stores the content of the workspace (it is responsibility of window manager).
Important note: Do not provide implementation of this interface unless you are window system provider!
Field Summary | |
static String |
PROP_DISPLAY_NAME
Deprecated. XXX Do no use. It is redundant. |
static String |
PROP_MODES
Deprecated. XXX Use WindowManager.PROP_MODES instead. |
static String |
PROP_NAME
Deprecated. XXX Do no use. It is redundant. |
static long |
serialVersionUID
Deprecated. Only public by accident. |
Method Summary | |
void |
activate()
Deprecated. XXX Do no use. It is redundant. |
void |
addPropertyChangeListener(PropertyChangeListener list)
Deprecated. XXX Use WindowManager.addPropertyChangeListener(java.beans.PropertyChangeListener) instead. |
Mode |
createMode(String name,
String displayName,
URL icon)
Deprecated. XXX Do no use. It is redundant. Currently it returns default predefined Mode instance. |
Mode |
findMode(String name)
Deprecated. XXX Use WindowManager.findMode(String) instead. |
Mode |
findMode(TopComponent c)
Deprecated. XXX Use WindowManager.findMode(TopComponent) instead. |
Rectangle |
getBounds()
Deprecated. XXX Do no use. It is redundant. |
String |
getDisplayName()
Deprecated. XXX Do no use. It is redundant. |
Set |
getModes()
Deprecated. XXX Use WindowManager.getModes() instead. |
String |
getName()
Deprecated. XXX Do no use. It is redundant. |
void |
remove()
Deprecated. XXX Do no use. It is redundant. |
void |
removePropertyChangeListener(PropertyChangeListener list)
Deprecated. XXX Use WindowManager.removePropertyChangeListener(java.beans.PropertyChangeListener) instead. |
Field Detail |
public static final long serialVersionUID
public static final String PROP_MODES
WindowManager.PROP_MODES
instead.
public static final String PROP_NAME
public static final String PROP_DISPLAY_NAME
Method Detail |
public String getName()
WindowManager.findWorkspace(java.lang.String)
.
public String getDisplayName()
public Set getModes()
WindowManager.getModes()
instead.
Mode
s known on this workspacepublic Rectangle getBounds()
public void activate()
public 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
public Mode findMode(String name)
WindowManager.findMode(String)
instead.
name
- the name of the mode to search for
null
if no such mode
can be foundpublic Mode findMode(TopComponent c)
WindowManager.findMode(TopComponent)
instead.
c
- component to find mode for
public void remove()
public void addPropertyChangeListener(PropertyChangeListener list)
WindowManager.addPropertyChangeListener(java.beans.PropertyChangeListener)
instead.
list
- the listener to addpublic void removePropertyChangeListener(PropertyChangeListener list)
WindowManager.removePropertyChangeListener(java.beans.PropertyChangeListener)
instead.
list
- the listener to remove
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |