Package docking
Class ComponentPlaceholder
java.lang.Object
docking.ComponentPlaceholder
Class to hold information about a dockable component with respect to its position within the
windowing system. It also holds identification information about the provider so that its
location can be reused when the provider is re-opened.
The placeholder will be used to link previously saved position information. The tool will initially construct plugins and their component providers with default position information. Then, any existing xml data will be restored, which may have provider position information. The restoring of the xml will create placeholders with this saved information. Finally, the restored placeholders will be linked with existing component providers.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a Dockable component that wraps the component for this placeholderReturns the full title for this component (title + subtitle)getName()
Returns the name of this component.Returns the component provider for this placeholder.Returns the subtitle for the componentThe text for display on the tab of a tabbed component.getTitle()
Returns the title for this componentboolean
toString()
void
update()
-
Method Details
-
isDisposed
public boolean isDisposed() -
getComponent
Returns a Dockable component that wraps the component for this placeholder- Returns:
- the component
-
getTitle
Returns the title for this component- Returns:
- the title for this component
-
getSubTitle
Returns the subtitle for the component- Returns:
- the subtitle for the component
-
getTabText
The text for display on the tab of a tabbed component.- Returns:
- The text for display on the tab of a tabbed component.
-
getName
Returns the name of this component.- Returns:
- the name of this component.
-
update
public void update() -
getProvider
Returns the component provider for this placeholder.- Returns:
- the component provider for this placeholder.
-
getFullTitle
Returns the full title for this component (title + subtitle)- Returns:
- the full title for this component (title + subtitle)
-
toString
-