|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.control.relocator.DropOperation
public class DropOperation
This operation calls DockStation.drop()
Constructor Summary | |
---|---|
DropOperation(DockController controller,
DockStation station)
Creates a new operation |
Method Summary | |
---|---|
boolean |
execute(Dockable selection,
VetoableDockRelocatorListener listener)
Executes this operation. |
Dockable[] |
getImplicit(Dockable selection)
Gets the Dockable s whose parent will change due to this operation. |
DockStation |
getStation()
Gets the station which is the target of this operation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DropOperation(DockController controller, DockStation station)
controller
- the controller in whose realm this operation worksstation
- the target of this operationMethod Detail |
---|
public DockStation getStation()
RelocateOperation
getStation
in interface RelocateOperation
null
public Dockable[] getImplicit(Dockable selection)
RelocateOperation
Dockable
s whose parent will change due to this operation.
getImplicit
in interface RelocateOperation
selection
- the element that is moved around
null
but can be emptypublic boolean execute(Dockable selection, VetoableDockRelocatorListener listener)
RelocateOperation
dragging
and
dragged
of listener
, all other
methods will throw an IllegalStateException
.
execute
in interface RelocateOperation
selection
- the element that is moved aroundlistener
- a listener to be informed about events happening because of this operation
true
if the operation was a success, false
if the operation was
canceled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |