Class PreviousModeDoubleClickStrategy

java.lang.Object
bibliothek.gui.dock.common.mode.PreviousModeDoubleClickStrategy
All Implemented Interfaces:
DoubleClickLocationStrategy

@FrameworkOnly public class PreviousModeDoubleClickStrategy extends Object implements DoubleClickLocationStrategy
If the current mode is ExtendedMode.MAXIMIZED, then this strategy asks the CLocationModeManager for the last mode a Dockable was in and selects this mode. Otherwise ExtendedMode.MAXIMIZED is selected.
Author:
Benjamin Sigg
  • Constructor Details

    • PreviousModeDoubleClickStrategy

      public PreviousModeDoubleClickStrategy(CLocationModeManager manager)
      Creates a new strategy
      Parameters:
      manager - the manager to ask for the previous mode, not null
  • Method Details