Package docking
Class ComponentPlaceholder
- java.lang.Object
-
- docking.ComponentPlaceholder
-
public class ComponentPlaceholder extends java.lang.ObjectClass 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DockableComponentgetComponent()Returns a Dockable component that wraps the component for this placeholderjava.lang.StringgetFullTitle()Returns the full title for this component (title + subtitle)java.lang.StringgetName()Returns the name of this component.ComponentProvidergetProvider()Returns the component provider for this placeholder.java.lang.StringgetSubTitle()Returns the subtitle for the componentjava.lang.StringgetTabText()The text for display on the tab of a tabbed component.java.lang.StringgetTitle()Returns the title for this componentbooleanisDisposed()java.lang.StringtoString()voidupdate()
-
-
-
Method Detail
-
isDisposed
public boolean isDisposed()
-
getComponent
public DockableComponent getComponent()
Returns a Dockable component that wraps the component for this placeholder- Returns:
- the component
-
getTitle
public java.lang.String getTitle()
Returns the title for this component- Returns:
- the title for this component
-
getSubTitle
public java.lang.String getSubTitle()
Returns the subtitle for the component- Returns:
- the subtitle for the component
-
getTabText
public java.lang.String 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
public java.lang.String getName()
Returns the name of this component.- Returns:
- the name of this component.
-
update
public void update()
-
getProvider
public ComponentProvider getProvider()
Returns the component provider for this placeholder.- Returns:
- the component provider for this placeholder.
-
getFullTitle
public java.lang.String getFullTitle()
Returns the full title for this component (title + subtitle)- Returns:
- the full title for this component (title + subtitle)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-