bibliothek.gui.dock.station.toolbar.group
Class ToolbarGroupPlaceholderMapping

java.lang.Object
  extended by bibliothek.gui.dock.station.toolbar.group.ToolbarGroupPlaceholderMapping
All Implemented Interfaces:
bibliothek.gui.dock.station.PlaceholderMapping

public class ToolbarGroupPlaceholderMapping
extends Object
implements bibliothek.gui.dock.station.PlaceholderMapping

A PlaceholderMapping that represents the placeholders of a ToolbarGroupDockStation.

Author:
Benjamin Sigg

Constructor Summary
ToolbarGroupPlaceholderMapping(ToolbarGroupDockStation station, DockablePlaceholderToolbarGrid<?> grid)
          Creates a new mapping.
 
Method Summary
 void addPlaceholder(bibliothek.gui.Dockable dockable, bibliothek.util.Path placeholder)
           
 bibliothek.gui.Dockable getDockableAt(bibliothek.util.Path placeholder)
           
 bibliothek.gui.dock.layout.DockableProperty getLocationAt(bibliothek.util.Path placeholder)
           
 ToolbarGroupDockStation getStation()
           
 boolean hasPlaceholder(bibliothek.util.Path placeholder)
           
 void removePlaceholder(bibliothek.util.Path placeholder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolbarGroupPlaceholderMapping

public ToolbarGroupPlaceholderMapping(ToolbarGroupDockStation station,
                                      DockablePlaceholderToolbarGrid<?> grid)
Creates a new mapping. This constructor should not be called by clients, instead they should call ToolbarGroupDockStation#getplaceho

Parameters:
station -
grid -
Method Detail

getStation

public ToolbarGroupDockStation getStation()
Specified by:
getStation in interface bibliothek.gui.dock.station.PlaceholderMapping

addPlaceholder

public void addPlaceholder(bibliothek.gui.Dockable dockable,
                           bibliothek.util.Path placeholder)
Specified by:
addPlaceholder in interface bibliothek.gui.dock.station.PlaceholderMapping

hasPlaceholder

public boolean hasPlaceholder(bibliothek.util.Path placeholder)
Specified by:
hasPlaceholder in interface bibliothek.gui.dock.station.PlaceholderMapping

removePlaceholder

public void removePlaceholder(bibliothek.util.Path placeholder)
Specified by:
removePlaceholder in interface bibliothek.gui.dock.station.PlaceholderMapping

getDockableAt

public bibliothek.gui.Dockable getDockableAt(bibliothek.util.Path placeholder)
Specified by:
getDockableAt in interface bibliothek.gui.dock.station.PlaceholderMapping

getLocationAt

public bibliothek.gui.dock.layout.DockableProperty getLocationAt(bibliothek.util.Path placeholder)
Specified by:
getLocationAt in interface bibliothek.gui.dock.station.PlaceholderMapping