Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.view.swing
Class SwingBoundModel  view SwingBoundModel download SwingBoundModel.java

java.lang.Object
  extended byorg.scopemvc.view.util.BoundModel
      extended byorg.scopemvc.view.util.ActiveBoundModel
          extended byorg.scopemvc.view.swing.SwingBoundModel
All Implemented Interfaces:
org.scopemvc.core.ModelChangeListener

public class SwingBoundModel
extends org.scopemvc.view.util.ActiveBoundModel

An ActiveBoundModel that forces updates to the parent View onto the AWTEvent thread because Swing isn't thread-safe.

Version:
$Revision: 1.3 $ $Date: 2002/01/26 09:46:21 $

Field Summary
private static org.apache.commons.logging.Log LOG
           
 
Fields inherited from class org.scopemvc.view.util.ActiveBoundModel
manager, view
 
Fields inherited from class org.scopemvc.view.util.BoundModel
boundModel, selector
 
Constructor Summary
SwingBoundModel(org.scopemvc.view.util.ModelBindable inView)
           
 
Method Summary
private  void superUpdateFromModel(int inEventType)
           
 void updateFromModel(int inEventType)
          Calls parent View's {org.scopemvc.view.util.ModelBindable#validationSuccess} to clear any previous validation failure.
 
Methods inherited from class org.scopemvc.view.util.ActiveBoundModel
getPropertyClass, getPropertyManager, getPropertyReadOnly, getPropertyValue, modelChanged, setBoundModel, setSelector, updateModel
 
Methods inherited from class org.scopemvc.view.util.BoundModel
getBoundModel, getSelector, setSelectorString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.commons.logging.Log LOG
Constructor Detail

SwingBoundModel

public SwingBoundModel(org.scopemvc.view.util.ModelBindable inView)
Method Detail

updateFromModel

public void updateFromModel(int inEventType)
Description copied from class: org.scopemvc.view.util.ActiveBoundModel
Calls parent View's {org.scopemvc.view.util.ModelBindable#validationSuccess} to clear any previous validation failure.


superUpdateFromModel

private void superUpdateFromModel(int inEventType)