|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.event.DockStationAdapter
bibliothek.gui.dock.control.DockRegister.StationListener
private class DockRegister.StationListener
A listener to the controller of the enclosing register. Ensures that stations and dockables are known even while the tree of elements is changed.
Field Summary | |
---|---|
private java.util.Set<Dockable> |
addedOnPut
a set of Dockable which were added during a drag and drop operation |
private java.util.Set<Dockable> |
removedOnPut
a set of Dockables which were removed during a drag and drop operation |
Constructor Summary | |
---|---|
private |
DockRegister.StationListener()
|
Method Summary | |
---|---|
private void |
addDockable(Dockable dockable)
Adds a Dockable either as station or as pure Dockable to this controller. |
void |
dockableAdding(DockStation station,
Dockable dockable)
Invoked before dockable is added to station . |
void |
dockableRemoved(DockStation station,
Dockable dockable)
Invoked after dockable has been removed from
station . |
void |
dockableRemoving(DockStation station,
Dockable dockable)
Invoked before dockable is removed from station . |
void |
fire()
|
private void |
removeDockable(Dockable dockable)
Removes a Dockable either as station or as pure Dockable from this controller. |
Methods inherited from class bibliothek.gui.dock.event.DockStationAdapter |
---|
dockableAdded, dockableVisibiltySet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Set<Dockable> removedOnPut
private java.util.Set<Dockable> addedOnPut
Constructor Detail |
---|
private DockRegister.StationListener()
Method Detail |
---|
public void fire()
public void dockableAdding(DockStation station, Dockable dockable)
DockStationListener
dockable
is added to station
.
dockableAdding
in interface DockStationListener
dockableAdding
in class DockStationAdapter
station
- the station where the new child will be addeddockable
- the new childprivate void addDockable(Dockable dockable)
dockable
- the Dockable to registerpublic void dockableRemoving(DockStation station, Dockable dockable)
DockStationListener
dockable
is removed from station
.
dockableRemoving
in interface DockStationListener
dockableRemoving
in class DockStationAdapter
station
- the station where the old child will be removeddockable
- the old childpublic void dockableRemoved(DockStation station, Dockable dockable)
DockStationListener
dockable
has been removed from
station
.
dockableRemoved
in interface DockStationListener
dockableRemoved
in class DockStationAdapter
station
- the station where the old child was removeddockable
- the old childprivate void removeDockable(Dockable dockable)
dockable
- the Dockable to unregister
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |