public abstract class ComponentDragOperation extends Object implements StationDragOperation
StationDragOperation
will call
Component.repaint()
on creation and when either the
operation succeeeds 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()
StationDragOperation
StationDragOperation
implicitely is invalid after a call to this method.canceled
in interface StationDragOperation
public void succeeded()
StationDragOperation
StationDragOperation
implicitely is invalid after a call to this method.succeeded
in interface StationDragOperation
public Dockable getDockable()
null
if this
operation is no longer requirednull
protected abstract void destroy()