bibliothek.gui.dock.control
Class PopupController.DockableObserver
java.lang.Object
javax.swing.event.MouseInputAdapter
bibliothek.gui.dock.action.ActionPopup
bibliothek.gui.dock.control.PopupController.ComponentObserver
bibliothek.gui.dock.control.PopupController.DockableObserver
- All Implemented Interfaces:
- DockableListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, javax.swing.event.MouseInputListener
- Enclosing class:
- PopupController
private class PopupController.DockableObserver
- extends PopupController.ComponentObserver
- implements DockableListener
A listener to a Dockable, lets the user
drag and drop a Dockable.
- Author:
- Benjamin Sigg
Methods inherited from class javax.swing.event.MouseInputAdapter |
mouseDragged, mouseEntered, mouseExited, mouseMoved |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listeners
private java.util.Map<DockTitle,PopupController.ComponentObserver> listeners
PopupController.DockableObserver
public PopupController.DockableObserver(Dockable dockable)
- Constructs a new listener
- Parameters:
dockable
- the Dockable to observe
titleBinded
public void titleBinded(Dockable dockable,
DockTitle title)
- Description copied from interface:
DockableListener
- Will be invoked when a
DockTitle
was binded
to a Dockable
.
- Specified by:
titleBinded
in interface DockableListener
- Parameters:
dockable
- the Dockable
whose title is settitle
- the new title
titleUnbinded
public void titleUnbinded(Dockable dockable,
DockTitle title)
- Description copied from interface:
DockableListener
- Will be invoked when a
DockTitle
was unbinded
from a Dockable
.
- Specified by:
titleUnbinded
in interface DockableListener
- Parameters:
dockable
- the Dockable
whose title was removedtitle
- the remove title
titleIconChanged
public void titleIconChanged(Dockable dockable,
javax.swing.Icon oldIcon,
javax.swing.Icon newIcon)
- Description copied from interface:
DockableListener
- Invoked when the title-icon of a
Dockable
has changed
- Specified by:
titleIconChanged
in interface DockableListener
- Parameters:
dockable
- the Dockable
whose title is changedoldIcon
- the old icon, may be null
newIcon
- the new icon, may be null
titleTextChanged
public void titleTextChanged(Dockable dockable,
java.lang.String oldTitle,
java.lang.String newTitle)
- Description copied from interface:
DockableListener
- Invoked when the title of a
Dockable
has changed.
- Specified by:
titleTextChanged
in interface DockableListener
- Parameters:
dockable
- the Dockable
whose title is changedoldTitle
- the title before the changenewTitle
- the title after the change