public abstract class ComponentDragOperation extends Object implements StationDragOperation
StationDragOperation will call
Component.repaint() on creation and when either the
operation succeeds or was canceled.| Constructor and Description |
|---|
ComponentDragOperation(Dockable dockable,
Component component)
Creates a new operation
|
| Modifier and Type | Method and Description |
|---|---|
void |
canceled()
Called if the drag and drop operation has been canceled.
|
protected abstract void |
destroy()
Called once this operation is no longer required
|
Dockable |
getDockable()
Gets the dockable that is moved around or
null if this
operation is no longer required |
void |
succeeded()
Called if the drag and drop operation successfully finished.
|
public void canceled()
StationDragOperationStationDragOperation
implicitly is invalid after a call to this method.canceled in interface StationDragOperationpublic void succeeded()
StationDragOperationStationDragOperation
implicitly is invalid after a call to this method.succeeded in interface StationDragOperationpublic Dockable getDockable()
null if this
operation is no longer requirednullprotected abstract void destroy()
Copyright © 2017 Docking Frames. All rights reserved.