com.levigo.jadice.demo
Class UpdateWindowTitleContextListener
java.lang.Object
com.levigo.jadice.demo.UpdateWindowTitleContextListener
- All Implemented Interfaces:
- ContextListener
public final class UpdateWindowTitleContextListener
- extends Object
- implements ContextListener
Updates JFrame
titles when documents (or BasicViewer
s) change.
- Author:
- Francois Fernandes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateWindowTitleContextListener
public UpdateWindowTitleContextListener(JFrame mainFrame,
String rootTitleName)
contextChanged
public void contextChanged(Context source)
- Description copied from interface:
ContextListener
- Message about the changing of the context.
- Specified by:
contextChanged
in interface ContextListener
- Parameters:
source
- the source of the event