|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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 repainted| Method Detail |
|---|
public void canceled()
StationDragOperationStationDragOperation
implicitely is invalid after a call to this method.
canceled in interface StationDragOperationpublic void succeeded()
StationDragOperationStationDragOperation
implicitely is invalid after a call to this method.
succeeded in interface StationDragOperationpublic Dockable getDockable()
null if this
operation is no longer required
nullprotected abstract void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||