|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PlaceholderStrategy
This strategy tells which Dockables can leave a placeholder
on a DockStation.
| Field Summary | |
|---|---|
static PropertyKey<PlaceholderStrategy> |
PLACEHOLDER_STRATEGY
Defines for which Dockables which Path is used as placeholder, or which
placeholders are no longer valid and to be removed. |
| Method Summary | |
|---|---|
void |
addListener(PlaceholderStrategyListener listener)
Adds a listener to this strategy. |
Path |
getPlaceholderFor(Dockable dockable)
Gets the placeholder which represents dockable. |
void |
install(DockStation station)
Informs this strategy that it will from no one be used by station. |
boolean |
isValidPlaceholder(Path placeholder)
Tells whether placeholder is associated with any Dockable. |
void |
removeListener(PlaceholderStrategyListener listener)
Removes a listener from this strategy. |
void |
uninstall(DockStation station)
Informs this strategy that it will no longer be used for station. |
| Field Detail |
|---|
static final PropertyKey<PlaceholderStrategy> PLACEHOLDER_STRATEGY
Dockables which Path is used as placeholder, or which
placeholders are no longer valid and to be removed.
| Method Detail |
|---|
void install(DockStation station)
station.
station - the station which uses this strategyvoid uninstall(DockStation station)
station.
station - the station that is removedvoid addListener(PlaceholderStrategyListener listener)
listener - the new listener, not nullvoid removeListener(PlaceholderStrategyListener listener)
listener - the listener to removePath getPlaceholderFor(Dockable dockable)
dockable.
dockable - some child of station
nullboolean isValidPlaceholder(Path placeholder)
placeholder is associated with any Dockable.
placeholder - the placeholder in question
true if placeholder is still in use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||