|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.event.DockControllerAdapter
public abstract class DockControllerAdapter
An abstract implementation of DockControllerListener
. All
methods of this class are empty. This class can be used instead of
DockControllerListener
when only a few selected methods
have to be implemented.
Constructor Summary | |
---|---|
DockControllerAdapter()
|
Method Summary | |
---|---|
void |
dockableDrag(DockController controller,
Dockable dockable,
DockStation station)
Invoked before a Dockable is moved around. |
void |
dockableFocused(DockController controller,
Dockable dockable)
Invoked when dockable has gained the focus. |
void |
dockablePut(DockController controller,
Dockable dockable,
DockStation station)
Invoked after a Dockable was moved. |
void |
dockableRegistered(DockController controller,
Dockable dockable)
Invoked after a Dockable was registered. |
void |
dockableRegistering(DockController controller,
Dockable dockable)
Invoked right before the dockable is registered in the
controller . |
void |
dockableUnregistered(DockController controller,
Dockable dockable)
Invoked after dockable has been unregistered from controller . |
void |
dockStationRegistered(DockController controller,
DockStation station)
Invoked after a DockStation was registered. |
void |
dockStationRegistering(DockController controller,
DockStation station)
Invoked right before the station is registered in
the controller . |
void |
dockStationUnregistered(DockController controller,
DockStation station)
Invoked after station has been unregistered from controller . |
void |
titleBound(DockController controller,
DockTitle title,
Dockable dockable)
Called when title was bound
to dockable . |
void |
titleUnbound(DockController controller,
DockTitle title,
Dockable dockable)
Called when title was unbound
from dockable . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DockControllerAdapter()
Method Detail |
---|
public void dockableRegistered(DockController controller, Dockable dockable)
DockRegisterListener
Dockable
was registered. Note that this method can
be called while a Dockable
is dragged. See the method
DockController
.isOnMove()
.
dockableRegistered
in interface DockRegisterListener
controller
- the controller where dockable
was addeddockable
- the Dockable
that was addedpublic void dockStationRegistered(DockController controller, DockStation station)
DockRegisterListener
DockStation
was registered. This method can
be called while a Dockable
is dragged. See the method
DockController
.isOnMove()
.
dockStationRegistered
in interface DockRegisterListener
controller
- the controller where station
was addedstation
- the DockStation
that was addedpublic void dockableRegistering(DockController controller, Dockable dockable)
DockRegisterListener
dockable
is registered in the
controller
.
dockableRegistering
in interface DockRegisterListener
controller
- the controller who does not yet know dockable
.dockable
- the dockable who does not yet know controller
.public void dockStationRegistering(DockController controller, DockStation station)
DockRegisterListener
station
is registered in
the controller
.
dockStationRegistering
in interface DockRegisterListener
controller
- the controller who does not yet know station
.station
- the station who does not yet know controller
.public void dockableUnregistered(DockController controller, Dockable dockable)
DockRegisterListener
dockable
has been unregistered from controller
.
Note that this method can be invoked while a Dockable
is dragged,
use the method DockController
.isOnMove()
.
dockableUnregistered
in interface DockRegisterListener
controller
- the controller from whom dockable
was removeddockable
- the removed Dockable
public void dockStationUnregistered(DockController controller, DockStation station)
DockRegisterListener
station
has been unregistered from controller
.
Note that this method can be invoked while a Dockable
is dragged,
use the method DockController
.isOnMove()
.
dockStationUnregistered
in interface DockRegisterListener
controller
- the controller from whom dockable
was removedstation
- the removed DockStation
public void dockableDrag(DockController controller, Dockable dockable, DockStation station)
DockRelocatorListener
Dockable
is moved around. This method is called
after the user has released the mouse which was dragging a DockTitle
around.
dockableDrag
in interface DockRelocatorListener
controller
- the origin of the eventdockable
- the Dockable
which was draggedstation
- the future parent of dockable
DockRelocatorListener.dockablePut(DockController, Dockable, DockStation)
public void dockablePut(DockController controller, Dockable dockable, DockStation station)
DockRelocatorListener
Dockable
was moved.
dockablePut
in interface DockRelocatorListener
controller
- the origin of the eventdockable
- the Dockable
which was draggedstation
- the new parent of dockable
DockRelocatorListener.dockableDrag(DockController, Dockable, DockStation)
public void titleBound(DockController controller, DockTitle title, Dockable dockable)
DockControllerListener
title
was bound
to dockable
.
This method is called after the DockTitle.bind()
-method
was invoked.
titleBound
in interface DockControllerListener
controller
- the origin of the eventtitle
- the DockTitle
that was bounddockable
- the owner of title
public void titleUnbound(DockController controller, DockTitle title, Dockable dockable)
DockControllerListener
title
was unbound
from dockable
.
This method is called after the DockTitle.bind()
-method
was invoked.
titleUnbound
in interface DockControllerListener
controller
- the origin of the eventtitle
- the DockTitle
which was unbounddockable
- the old owner of title
public void dockableFocused(DockController controller, Dockable dockable)
DockControllerListener
dockable
has gained the focus.
dockableFocused
in interface DockControllerListener
controller
- the origin of the eventdockable
- the Dockable
which is now focused
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |