com.levigo.jadice.demo
Class UpdateWindowTitleContextListener

java.lang.Object
  extended by com.levigo.jadice.demo.UpdateWindowTitleContextListener
All Implemented Interfaces:
ContextListener

public final class UpdateWindowTitleContextListener
extends Object
implements ContextListener

Updates JFrame titles when documents (or BasicViewers) change.

Author:
Francois Fernandes

Constructor Summary
UpdateWindowTitleContextListener(JFrame mainFrame, String rootTitleName)
           
 
Method Summary
 void contextChanged(Context source)
          Message about the changing of the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateWindowTitleContextListener

public UpdateWindowTitleContextListener(JFrame mainFrame,
                                        String rootTitleName)
Method Detail

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


Copyright © 2017 levigo holding gmbh. All rights reserved.