bibliothek.gui.dock.station
Class StackDockStation.Listener

java.lang.Object
  extended by bibliothek.gui.dock.station.StackDockStation.Listener
All Implemented Interfaces:
DockableListener
Enclosing class:
StackDockStation

private class StackDockStation.Listener
extends java.lang.Object
implements DockableListener

This listener is added to the children of the station. Whenever the icon or the title-text of a child changes, the listener will inform the stack-component about the change

Author:
Benjamin Sigg

Constructor Summary
private StackDockStation.Listener()
           
 
Method Summary
 void titleBinded(Dockable dockable, DockTitle title)
          Will be invoked when a DockTitle was binded to a Dockable.
 void titleIconChanged(Dockable dockable, javax.swing.Icon oldIcon, javax.swing.Icon newIcon)
          Invoked when the title-icon of a Dockable has changed
 void titleTextChanged(Dockable dockable, java.lang.String oldTitle, java.lang.String newTitle)
          Invoked when the title of a Dockable has changed.
 void titleUnbinded(Dockable dockable, DockTitle title)
          Will be invoked when a DockTitle was unbinded from a Dockable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackDockStation.Listener

private StackDockStation.Listener()
Method Detail

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 set
title - 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 removed
title - the remove title

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 changed
oldTitle - the title before the change
newTitle - the title after the change

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 changed
oldIcon - the old icon, may be null
newIcon - the new icon, may be null