|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelocateOperation
Describes the action that a DefaultDockRelocator
will execute.
Method Summary | |
---|---|
void |
destroy(RelocateOperation next)
Informs this operation that it will never be used (again) and that it should release any resources it has acquired. |
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. |
StationDropOperation |
getOperation()
Gets the operation that would be executed by the dock station . |
DockStation |
getStation()
Gets the station which is the target of this operation |
Method Detail |
---|
DockStation getStation()
null
StationDropOperation getOperation()
dock station
.
null
void destroy(RelocateOperation next)
next
- the operation that will be executed next, can be null
Dockable[] getImplicit(Dockable selection)
Dockable
s whose parent will change due to this operation.
selection
- the element that is moved around
null
but can be emptyboolean execute(Dockable selection, VetoableDockRelocatorListener listener)
dragging
and
dragged
of listener
, all other
methods will throw an IllegalStateException
.
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 |