bibliothek.gui.dock.station.toolbar.layer
Class SideSnapDropLayer

java.lang.Object
  extended by bibliothek.gui.dock.station.toolbar.layer.SideSnapDropLayer
All Implemented Interfaces:
bibliothek.gui.dock.station.layer.DockStationDropLayer

public class SideSnapDropLayer
extends Object
implements bibliothek.gui.dock.station.layer.DockStationDropLayer

Describes the area around a ToolbarDockStation where the user can drop a Dockable into.

Author:
Herve Guillaume

Constructor Summary
SideSnapDropLayer(ToolbarGroupDockStation station)
          Creates a new layer
 
Method Summary
 boolean canCompare(bibliothek.gui.dock.station.layer.DockStationDropLayer level)
           
 int compare(bibliothek.gui.dock.station.layer.DockStationDropLayer level)
           
 boolean contains(int x, int y)
           
 Component getComponent()
           
 bibliothek.gui.dock.station.layer.LayerPriority getPriority()
           
 bibliothek.gui.DockStation getStation()
           
 bibliothek.gui.dock.station.layer.DockStationDropLayer modify(bibliothek.gui.dock.station.layer.DockStationDropLayer child)
           
 void setPriority(bibliothek.gui.dock.station.layer.LayerPriority priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SideSnapDropLayer

public SideSnapDropLayer(ToolbarGroupDockStation station)
Creates a new layer

Parameters:
station - the owner of this level
Method Detail

getPriority

public bibliothek.gui.dock.station.layer.LayerPriority getPriority()
Specified by:
getPriority in interface bibliothek.gui.dock.station.layer.DockStationDropLayer

setPriority

public void setPriority(bibliothek.gui.dock.station.layer.LayerPriority priority)
Specified by:
setPriority in interface bibliothek.gui.dock.station.layer.DockStationDropLayer

canCompare

public boolean canCompare(bibliothek.gui.dock.station.layer.DockStationDropLayer level)
Specified by:
canCompare in interface bibliothek.gui.dock.station.layer.DockStationDropLayer

compare

public int compare(bibliothek.gui.dock.station.layer.DockStationDropLayer level)
Specified by:
compare in interface bibliothek.gui.dock.station.layer.DockStationDropLayer

getComponent

public Component getComponent()
Specified by:
getComponent in interface bibliothek.gui.dock.station.layer.DockStationDropLayer

getStation

public bibliothek.gui.DockStation getStation()
Specified by:
getStation in interface bibliothek.gui.dock.station.layer.DockStationDropLayer

modify

public bibliothek.gui.dock.station.layer.DockStationDropLayer modify(bibliothek.gui.dock.station.layer.DockStationDropLayer child)
Specified by:
modify in interface bibliothek.gui.dock.station.layer.DockStationDropLayer

contains

public boolean contains(int x,
                        int y)
Specified by:
contains in interface bibliothek.gui.dock.station.layer.DockStationDropLayer