com.levigo.jadice.demo
Class UpdateWindowTitlePropertyListener

java.lang.Object
  extended by com.levigo.jadice.demo.UpdateWindowTitlePropertyListener
All Implemented Interfaces:
PropertyChangeListener, EventListener

public final class UpdateWindowTitlePropertyListener
extends Object
implements PropertyChangeListener

Updates JFrame titles when documents change. This is the preferred listener if there is just one PageView in the document. This listener receives just events, if a new Document has been loaded.

If there are multiple PageViews in the application, the "UpdateWindowTitleContextListener" should be preferred. That class receives more events, but also gets informed about a change in the active PageView.


Constructor Summary
UpdateWindowTitlePropertyListener(JFrame mainFrame, String rootTitleName, BasicJadicePanel jadicePanel)
           
 
Method Summary
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateWindowTitlePropertyListener

public UpdateWindowTitlePropertyListener(JFrame mainFrame,
                                         String rootTitleName,
                                         BasicJadicePanel jadicePanel)
Method Detail

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.