bibliothek.gui.dock.station.screen
Class ToolbarWindowConfiguration

java.lang.Object
  extended by bibliothek.gui.dock.station.screen.ToolbarWindowConfiguration
All Implemented Interfaces:
bibliothek.gui.dock.station.screen.ScreenDockWindowConfiguration

public class ToolbarWindowConfiguration
extends Object
implements bibliothek.gui.dock.station.screen.ScreenDockWindowConfiguration

This class will configure ScreenDockWindows such that grabing the title of a toolbar does not start a drag and drop operation directly, but first allows the user to move around the entire window.

Author:
Benjamin Sigg

Constructor Summary
ToolbarWindowConfiguration(bibliothek.gui.DockController controller)
          Creates a new configuration
 
Method Summary
 bibliothek.gui.dock.station.screen.window.WindowConfiguration getConfiguration(bibliothek.gui.dock.ScreenDockStation station, bibliothek.gui.Dockable dockable)
           
protected  ToolbarStrategy getStrategy()
          Gets the strategy which is used by this configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolbarWindowConfiguration

public ToolbarWindowConfiguration(bibliothek.gui.DockController controller)
Creates a new configuration

Parameters:
controller - the controller in whose realm this configuration is used
Method Detail

getStrategy

protected ToolbarStrategy getStrategy()
Gets the strategy which is used by this configuration.

Returns:
the strategy used to identify toolbar items

getConfiguration

public bibliothek.gui.dock.station.screen.window.WindowConfiguration getConfiguration(bibliothek.gui.dock.ScreenDockStation station,
                                                                                      bibliothek.gui.Dockable dockable)
Specified by:
getConfiguration in interface bibliothek.gui.dock.station.screen.ScreenDockWindowConfiguration