WindowManager.topComponentOpen(org.openide.windows.TopComponent)
, WindowManager.topComponentClose(org.openide.windows.TopComponent)
etc.@Deprecated protected static interface WindowManager.Component extends Serializable
TopComponent
.Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
Deprecated.
Only public by accident.
|
Modifier and Type | Method and Description |
---|---|
void |
close(Workspace workspace)
Deprecated.
Closes this component on a given workspace.
|
Node[] |
getActivatedNodes()
Deprecated.
Get the set of activated nodes.
|
Image |
getIcon()
Deprecated.
Gets the icon associated with this component.
|
void |
nameChanged()
Deprecated.
Called when the name of the top component changes.
|
void |
open()
Deprecated.
Open the component on current workspace
|
void |
open(Workspace workspace)
Deprecated.
Opens this component on a given workspace.
|
void |
requestFocus()
Deprecated.
Called when the component requests focus.
|
void |
requestVisible()
Deprecated.
Set this component visible but not selected or focused if possible.
|
void |
setActivatedNodes(Node[] nodes)
Deprecated.
Set the set of activated nodes for this component.
|
void |
setIcon(Image icon)
Deprecated.
Set the icon of the top component.
|
Set<Workspace> |
whereOpened()
Deprecated.
Gets a list of workspaces where this component is currently open.
|
@Deprecated static final long serialVersionUID
void open()
void open(Workspace workspace)
workspace
- the workspace on which to open itvoid close(Workspace workspace)
workspace
- the workspace on which to close itvoid requestFocus()
void requestVisible()
Node[] getActivatedNodes()
void setActivatedNodes(Node[] nodes)
nodes
- new set of activated nodesvoid nameChanged()
void setIcon(Image icon)
icon
- the new iconImage getIcon()