Modifier and Type | Class and Description |
---|---|
class |
CloneableTopComponent
A top component which may be cloned.
|
Modifier and Type | Method and Description |
---|---|
TopComponent |
CloneableTopComponent.cloneComponent()
Clone the top component and register the clone.
|
TopComponent |
TopComponent.Cloneable.cloneComponent()
Creates a clone of this component
|
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 |
---|---|
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.
|
boolean |
WindowManager.isTopComponentFloating(TopComponent tc)
Checks the floating status of given TopComponent.
|
boolean |
WindowManager.isTopComponentMinimized(TopComponent tc)
Checks the minimized status of given TopComponent.
|
static Action |
TopComponent.openAction(TopComponent component,
String displayName,
String iconBase,
boolean noIconInMenu)
Creates an action that opens and activates given
TopComponent ,
when invoked. |
Mode |
ModeSelector.selectModeForOpen(TopComponent tc,
Mode preselectedMode)
Choose a suitable Mode to open the TopComponent in.
|
void |
WindowManager.setTopComponentFloating(TopComponent tc,
boolean floating)
Floats the given TopComponent or docks it back to the main window.
|
void |
WindowManager.setTopComponentMinimized(TopComponent tc,
boolean minimize)
Minimizes the given TopComponent.
|
protected abstract void |
WindowManager.topComponentActivatedNodesChanged(TopComponent tc,
Node[] activatedNodes)
Informs about change of activated nodes of specified
TopComponent . |
protected void |
WindowManager.topComponentAttentionHighlight(TopComponent tc,
boolean highlight)
Highlights the tab of the given TopComponent until user activates it.
|
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 void |
WindowManager.topComponentMakeBusy(TopComponent tc,
boolean busy)
Notifies the user that some process is running in the given TopComponent,
for example by drawing an animated "wait" icon in TopComponent's header.
The default implementation does nothing. |
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 |
---|
NodeName(TopComponent top)
Deprecated.
Please do not use, public just by an accident.
|