|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScreenDockStationExtension
This extension is used by ScreenDockStation
and changes the functionality of some
methods.
Nested Class Summary | |
---|---|
static class |
ScreenDockStationExtension.DropArguments
A class offering all the arguments of the method ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean) |
Method Summary | |
---|---|
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)
Called by ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean) . |
void |
dropped(ScreenDockStation station,
ScreenDockStationExtension.DropArguments arguments,
boolean successfull)
Called after a (modified) call to ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean)
ended. |
Method Detail |
---|
boolean canReplace(ScreenDockStation station, Dockable old, Dockable next)
old
with next
is possible on station
.
station
- the source of the callold
- a child of station
next
- a possible replacement of old
old
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 successfull)
ScreenDockStation.drop(Dockable, ScreenDockProperty, boolean)
ended.
station
- the source of the eventarguments
- the arguments that were used by the method, should not be modifiedsuccessfull
- whether the call was successfull
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |