public class WindowDropLayer extends DefaultDropLayer
FlapWindow.| Constructor and Description |
|---|
WindowDropLayer(FlapDockStation station)
Creates a new layer.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
DockStationDropLayer |
modify(DockStationDropLayer child)
This method is called for any
DockStationDropLayer whose station
is a child to the station of this level. |
canCompare, compare, getComponent, getPriority, getStation, setPrioritypublic WindowDropLayer(FlapDockStation station)
station - the owner of this levelpublic boolean contains(int x,
int y)
DockStationDropLayerlevel contains the point x/y, which is the position
of the mouse on the screen.contains in interface DockStationDropLayercontains in class DefaultDropLayerx - the x-coordinate of the mouse on the screeny - the y-coordinate of the mouse on the screentrue if this level contains x/y, false
otherwisepublic DockStationDropLayer modify(DockStationDropLayer child)
DockStationDropLayerDockStationDropLayer whose station
is a child to the station of this level. This method may modify the level, e.g. increase or
decrease its priority. This method is called before this level itself gets modified by its
parents. This method is called independent of whether DockStationDropLayer.contains(int, int) returns true
or false.modify in interface DockStationDropLayermodify in class DefaultDropLayerchild - the child to modify, this method may either directly modify child, create a wrapper or
a copy of childchild or a new DockStationDropLayer replacing child, not nullCopyright © 2017 Docking Frames. All rights reserved.