Modifier and Type | Class and Description |
---|---|
class |
CloneableTopComponent
A top component which may be cloned.
|
Modifier and Type | Method and Description |
---|---|
TopComponent |
TopComponent.Cloneable.cloneComponent()
Creates a clone of this component
|
TopComponent |
CloneableTopComponent.cloneComponent()
Clone the top component and register the clone.
|
abstract TopComponent |
WindowManager.findTopComponent(String tcID)
Returns
TopComponent for given unique ID. |
TopComponent |
TopComponent.Registry.getActivated()
Get the currently selected element.
|
TopComponent[] |
WindowManager.getOpenedTopComponents(Mode mode)
Convenience method to retrieve the list of all opened TopComponents for
given mode.
|
TopComponent |
Mode.getSelectedTopComponent()
Gets selected
TopComponent in this mode. |
TopComponent[] |
Mode.getTopComponents()
Get all top components currently docked into this mode.
|
Modifier and Type | Method and Description |
---|---|
Set<TopComponent> |
TopComponent.Registry.getOpened()
Get reference to a set of all opened componets in the system.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WindowManager.activateComponent(TopComponent tc)
Activate a component.
|
boolean |
Mode.canDock(TopComponent tc)
Allows implementor to specify some restrictive policy as to which
top components can be docked into this mode.
|
protected void |
WindowManager.componentCloseNotify(TopComponent tc)
Notifies component that it was closed (and is not opened on any
workspace anymore).
|
protected void |
WindowManager.componentHidden(TopComponent tc)
Notifies
TopComponent it was hidden. |
protected void |
WindowManager.componentOpenNotify(TopComponent tc)
Notifies component that it was opened (and wasn't opened on any
workspace before).
|
protected void |
WindowManager.componentShowing(TopComponent tc)
Notifies
TopComponent it is about to be shown. |
static void |
TopComponent.NodeName.connect(TopComponent top,
Node n)
Deprecated.
Connects a top component and a node.
|
protected abstract WindowManager.Component |
WindowManager.createTopComponentManager(TopComponent c)
Create a component manager for the given top component.
|
boolean |
Mode.dockInto(TopComponent c)
Attaches a component to a mode for this workspace.
|
protected static WindowManager.Component |
WindowManager.findComponentManager(TopComponent tc)
Deprecated.
Do not use anymore.
See
WindowManager.Component deprecation. |
Mode |
Workspace.findMode(TopComponent c)
Deprecated.
Use
WindowManager.findMode(TopComponent) instead. |
abstract Mode |
WindowManager.findMode(TopComponent tc)
Finds mode which contains specified
TopComponent . |
String |
WindowManager.findTopComponentID(TopComponent tc)
Returns unique ID for specified
TopComponent . |
boolean |
WindowManager.isEditorTopComponent(TopComponent tc)
Check whether the given TopComponent will be/is docked into an 'editor' Mode.
|
boolean |
WindowManager.isOpenedEditorTopComponent(TopComponent tc)
Check whether the given TopComponent is opened and docked into an 'editor' Mode.
|
static Action |
TopComponent.openAction(TopComponent component,
String displayName,
String iconBase,
boolean noIconInMenu)
Creates an action that opens and activates given
TopComponent ,
when invoked. |
protected abstract void |
WindowManager.topComponentActivatedNodesChanged(TopComponent tc,
Node[] activatedNodes)
Informs about change of activated nodes of specified
TopComponent . |
protected void |
WindowManager.topComponentCancelRequestAttention(TopComponent tc)
Stop this TopComponent's tab from flashing if it is flashing.
|
protected abstract void |
WindowManager.topComponentClose(TopComponent tc)
Provides closing of specified
TopComponent . |
protected abstract Action[] |
WindowManager.topComponentDefaultActions(TopComponent tc)
Gets default list of actions which appear in popup menu of TopComponent.
|
protected abstract void |
WindowManager.topComponentDisplayNameChanged(TopComponent tc,
String displayName)
Informs about change of display name of specified
TopComponent . |
protected int |
WindowManager.topComponentGetTabPosition(TopComponent tc)
Gives position index of given TopComponent in the mode.
|
protected abstract void |
WindowManager.topComponentHtmlDisplayNameChanged(TopComponent tc,
String htmlDisplayName)
Informs about change of html display name of specified
TopComponent . |
protected abstract void |
WindowManager.topComponentIconChanged(TopComponent tc,
Image icon)
Informs about chagne of icon of specified
TopComponent . |
protected abstract String |
WindowManager.topComponentID(TopComponent tc,
String preferredID)
Returns unique ID for specified
TopComponent . |
protected abstract boolean |
WindowManager.topComponentIsOpened(TopComponent tc)
Indicates whether specified
TopComponent is opened. |
protected abstract void |
WindowManager.topComponentOpen(TopComponent tc)
Provides opening of specified
TopComponent . |
protected void |
WindowManager.topComponentOpenAtTabPosition(TopComponent tc,
int position)
Opens given TopComponent at given position in the mode.
|
protected abstract void |
WindowManager.topComponentRequestActive(TopComponent tc)
Provides activation of specified
TopComponent . |
protected void |
WindowManager.topComponentRequestAttention(TopComponent tc)
Cause this TopComponent's tab to flash or otherwise draw the users' attention
to it.
|
protected abstract void |
WindowManager.topComponentRequestVisible(TopComponent tc)
Provides selection of specfied
TopComponent . |
protected void |
WindowManager.topComponentToFront(TopComponent tc)
Attempts to bring the parent
Window of the given TopComponent
to front of other windows. |
protected abstract void |
WindowManager.topComponentToolTipChanged(TopComponent tc,
String toolTip)
Informs about change of tooltip of specified
TopComponent . |
Constructor and Description |
---|
TopComponent.NodeName(TopComponent top)
Deprecated.
Please do not use, public just by an accident.
|
Built on February 25 2013. | Portions Copyright 1997-2013 Sun Microsystems, Inc. All rights reserved.