de.kleopatra.view.binding
Class DelayedRefresher

java.lang.Object
  extended byAbstractValueModel
      extended byde.kleopatra.view.binding.DelayedRefresher

public class DelayedRefresher
extends AbstractValueModel

Actually, this is a dirty hack to make sure a listener will be updated with the new value.

Need it if the source is not notifying or if a Adapter in the valueModel chain will not accept changes during an update cycle. Should solve more cleanly...

Version:
$Revision: 1.1.1.1 $ - $Date: 2004/07/09 09:13:18 $
Author:
(C) Jeanette Winzenburg, Berlin
See Also:
Serialized Form

Field Summary
protected  ValueModel source
           
 
Constructor Summary
DelayedRefresher(ValueModel source)
           
 
Method Summary
 java.lang.Object getValue()
           
protected  void invokeRefresh(java.lang.Object oldValue)
           
 void setValue(java.lang.Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected ValueModel source
Constructor Detail

DelayedRefresher

public DelayedRefresher(ValueModel source)
Method Detail

invokeRefresh

protected void invokeRefresh(java.lang.Object oldValue)

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object newValue)


Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.