Class CPlaceholderStrategy
java.lang.Object
bibliothek.gui.dock.common.intern.CPlaceholderStrategy
- All Implemented Interfaces:
PlaceholderStrategy
- Author:
- Benjamin Sigg
-
Field Summary
Fields inherited from interface bibliothek.gui.dock.station.support.PlaceholderStrategy
PLACEHOLDER_STRATEGY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(PlaceholderStrategyListener listener) protected voidfireInvalidated(Path placeholder) static PathGets the placeholder that is used for theMultipleCDockablewith unique identifierid.getPlaceholderFor(Dockable dockable) static PathGets the placeholder that is used for theSingleCDockablewith unique identifierid.voidinstall(DockStation station) booleanisValidPlaceholder(Path placeholder) voidremoveListener(PlaceholderStrategyListener listener) voiduninstall(DockStation station)
-
Constructor Details
-
CPlaceholderStrategy
Creates a new strategy- Parameters:
control- the control in whose realm this strategy operates
-
-
Method Details
-
getSingleDockablePlaceholder
Gets the placeholder that is used for theSingleCDockablewith unique identifierid.- Parameters:
id- the unique identifer of aSingleCDockable- Returns:
- the placeholder for that dockable
-
getMultipleDockablePlaceholder
Gets the placeholder that is used for theMultipleCDockablewith unique identifierid.- Parameters:
id- the unique identifer of aMultipleCDockable- Returns:
- the placeholder for that dockable
-
addListener
- Specified by:
addListenerin interfacePlaceholderStrategy
-
removeListener
- Specified by:
removeListenerin interfacePlaceholderStrategy
-
fireInvalidated
-
getPlaceholderFor
- Specified by:
getPlaceholderForin interfacePlaceholderStrategy
-
isValidPlaceholder
- Specified by:
isValidPlaceholderin interfacePlaceholderStrategy
-
install
- Specified by:
installin interfacePlaceholderStrategy
-
uninstall
- Specified by:
uninstallin interfacePlaceholderStrategy
-