|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.support.ComponentDragOperation
public abstract class ComponentDragOperation
This implementation of StationDragOperation
will call
Component.repaint()
on creation and when either the
operation succeeeds or was canceled.
Constructor Summary | |
---|---|
ComponentDragOperation(Dockable dockable,
Component component)
Creates a new operation |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentDragOperation(Dockable dockable, Component component)
dockable
- the item that is removedcomponent
- the component that needs to be repaintedMethod Detail |
---|
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 required
null
protected abstract void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |