bibliothek.gui.dock.station.split.layer
Class SplitOverrideDropLayer

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

public class SplitOverrideDropLayer
extends DefaultDropLayer

Represents the override area of a SplitDockStation as defined by Root.isInOverrideZone(int, int).

Author:
Benjamin Sigg

Constructor Summary
SplitOverrideDropLayer(SplitDockStation station)
          Creates a new layer.
 
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

SplitOverrideDropLayer

public SplitOverrideDropLayer(SplitDockStation station)
Creates a new layer.

Parameters:
station - the station which owns this level
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