|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.event.DockRegisterAdapter bibliothek.gui.dock.control.ActionBinder
public class ActionBinder
A manager which ensures that every DockAction
is bound to its Dockable
s.
Constructor Summary | |
---|---|
ActionBinder(DockController controller)
Creates a new binder. |
Method Summary | |
---|---|
void |
dockableRegistered(DockController controller,
Dockable dockable)
Invoked after a Dockable was registered. |
void |
dockableUnregistered(DockController controller,
Dockable dockable)
Invoked after dockable has been unregistered from controller . |
DockController |
getController()
Gets the owner of this binder. |
Methods inherited from class bibliothek.gui.dock.event.DockRegisterAdapter |
---|
dockableCycledRegister, dockableRegistering, dockStationRegistered, dockStationRegistering, dockStationUnregistered, registerStalled, registerUnstalled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionBinder(DockController controller)
controller
- the owner, not null
Method Detail |
---|
public DockController getController()
null
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
dockableRegistered
in class DockRegisterAdapter
controller
- the controller where dockable
was addeddockable
- the Dockable
that was addedpublic 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
dockableUnregistered
in class DockRegisterAdapter
controller
- the controller from where dockable
was removeddockable
- the removed Dockable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |