|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WindowManager
methods directly,
e.g. WindowManager.getModes()
etc.
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. 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. |
Method Summary | |
void |
activate()
Deprecated. Do no use. It is redundant. |
void |
addPropertyChangeListener(PropertyChangeListener list)
Deprecated. Use WindowManager.addPropertyChangeListener(java.beans.PropertyChangeListener) instead. |
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 |
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. Use WindowManager.removePropertyChangeListener(java.beans.PropertyChangeListener) instead. |
Field Detail |
public static final String PROP_MODES
WindowManager.PROP_MODES
instead.
public static final String PROP_NAME
public static final String PROP_DISPLAY_NAME
public static final long serialVersionUID
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 |