|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.javadocking.event.DockingEventSupport
public class DockingEventSupport
A utility class that can be used by classes that have docking listeners attached to it. You can use an instance of this class as a member field and delegate docking event work to it.
| Constructor Summary | |
|---|---|
DockingEventSupport()
|
|
| Method Summary | |
|---|---|
void |
addDockingListener(DockingListener listener)
Adds a listener for docking events. |
void |
fireDockingChanged(DockingEvent dockingEvent)
Notifies all listeners that have registered interest for notification on this event type. |
void |
fireDockingWillChange(DockingEvent dockingEvent)
Notifies all listeners that have registered interest for notification on this event type. |
void |
removeDockingListener(DockingListener listener)
Removes a listener for docking events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DockingEventSupport()
| Method Detail |
|---|
public void addDockingListener(DockingListener listener)
listener - A docking listener that will be notified when a dockable or child dock is added, moved or removed from a dock.public void removeDockingListener(DockingListener listener)
listener - A docking listener to remove.public void fireDockingWillChange(DockingEvent dockingEvent)
dockingEvent - Gives more information about the origin dock, the destination dock,
and the object whose docking state changed.public void fireDockingChanged(DockingEvent dockingEvent)
dockingEvent - Gives more information about the origin dock, the destination dock,
and the object whose docking state changed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||