bibliothek.gui.dock.station.stack
Class TabDropLayer

java.lang.Object
  extended by bibliothek.gui.dock.station.layer.DefaultDropLayer
      extended by bibliothek.gui.dock.station.stack.TabDropLayer
All Implemented Interfaces:
DockStationDropLayer

public class TabDropLayer
extends DefaultDropLayer

A DockStationDropLayer with priority LayerPriority.OVERRIDE_PRECISE representing the tabs of a StackDockStation.

Author:
Benjamin Sigg

Constructor Summary
TabDropLayer(StackDockStation station)
           
 
Method Summary
 boolean contains(int x, int y)
          Tells whether this level contains the point x/y, which is the position of the mouse on the screen.
 
Methods inherited from class bibliothek.gui.dock.station.layer.DefaultDropLayer
canCompare, compare, getComponent, getPriority, getStation, modify, setPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabDropLayer

public TabDropLayer(StackDockStation station)
Method Detail

contains

public boolean contains(int x,
                        int y)
Description copied from interface: DockStationDropLayer
Tells whether this level contains the point x/y, which is the position of the mouse on the screen.

Specified by:
contains in interface DockStationDropLayer
Overrides:
contains in class DefaultDropLayer
Parameters:
x - the x-coordinate of the mouse on the screen
y - the y-coordinate of the mouse on the screen
Returns:
true if this level contains x/y, false otherwise