public interface ScreenDockStationExtension
ScreenDockStation and changes the functionality of some
methods.| Modifier and Type | Interface and Description |
|---|---|
static class |
ScreenDockStationExtension.DropArguments
A class offering all the arguments of the method
ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReplace(ScreenDockStation station,
Dockable old,
Dockable next)
Tells whether replacing
old with next is possible on station. |
void |
drop(ScreenDockStation station,
ScreenDockStationExtension.DropArguments arguments)
|
void |
dropped(ScreenDockStation station,
ScreenDockStationExtension.DropArguments arguments,
boolean successful)
Called after a (modified) call to
ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean)
ended. |
boolean canReplace(ScreenDockStation station, Dockable old, Dockable next)
old with next is possible on station.station - the source of the callold - a child of stationnext - a possible replacement of oldold with next is allowedvoid drop(ScreenDockStation station, ScreenDockStationExtension.DropArguments arguments)
ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean). This method may modify
the arguments in any way it likes.station - the source of the eventarguments - the arguments of the method, can be modifiedvoid dropped(ScreenDockStation station, ScreenDockStationExtension.DropArguments arguments, boolean successful)
ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean)
ended.station - the source of the eventarguments - the arguments that were used by the method, should not be modifiedsuccessful - whether the call was successfulCopyright © 2017 Docking Frames. All rights reserved.