|
org.openide.windows 6.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WindowManager
methods directly,
e.g. WindowManager.getModes()
etc.
public interface Workspace
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 |
---|
static final String PROP_MODES
WindowManager.PROP_MODES
instead.
static final String PROP_NAME
static final String PROP_DISPLAY_NAME
static final long serialVersionUID
Method Detail |
---|
String getName()
WindowManager.findWorkspace(java.lang.String)
.
String getDisplayName()
Set 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 for
null
if no such mode
can be foundMode findMode(TopComponent c)
WindowManager.findMode(TopComponent)
instead.
c
- component to find mode for
void 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
|
org.openide.windows 6.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |