Class CFlapDockStationHandle

java.lang.Object
bibliothek.gui.dock.facile.mode.station.FlapDockStationHandle
bibliothek.gui.dock.common.mode.station.CFlapDockStationHandle
All Implemented Interfaces:
CMinimizedModeArea, CModeArea, MinimizedModeArea, ModeArea, StationModeArea

public class CFlapDockStationHandle extends FlapDockStationHandle implements CMinimizedModeArea
Interface between FlapDockStation and CModeArea.
Author:
Benjamin Sigg
  • Constructor Details

    • CFlapDockStationHandle

      public CFlapDockStationHandle(CStation<CFlapDockStation> station)
      Creates a new handle
      Parameters:
      station - the station which is handled by this handle
    • CFlapDockStationHandle

      public CFlapDockStationHandle(String id, CFlapDockStation station, CLocation location)
      Creates a new handle
      Parameters:
      id - the unique identifier of this station
      station - the station to handle
      location - the location which represents station
  • Method Details

    • getCLocation

      public CLocation getCLocation(Dockable dockable)
      Description copied from interface: CModeArea
      Assuming dockable is a child of this area, returns the location of dockable.
      Specified by:
      getCLocation in interface CModeArea
      Parameters:
      dockable - some child
      Returns:
      the location, null if not found
    • getCLocation

      public CLocation getCLocation(Dockable dockable, Location location)
      Description copied from interface: CModeArea
      Assuming dockable would be at location location if it would be a child of this station, returns the CLocation that matches location.
      Specified by:
      getCLocation in interface CModeArea
      Parameters:
      dockable - some element which may or may not be a child of this station
      location - the location dockable would have if it would be a child of this station
      Returns:
      the location, null if not found