Examples of VisiblyMutable


Examples of ca.nengo.util.VisiblyMutable

  @Override
  public void attachViewToModel() {
    super.attachViewToModel();
    if (getModel() instanceof VisiblyMutable) {
      VisiblyMutable visiblyMutable = getModel();
      visiblyMutable.addChangeListener(myUpdateListener);
    }
  }
View Full Code Here

Examples of ca.nengo.util.VisiblyMutable

  @Override
  public void detachViewFromModel() {
    super.detachViewFromModel();
    if (getModel() instanceof VisiblyMutable) {
      VisiblyMutable visiblyMutable = getModel();

      Util.Assert(myUpdateListener != null);
      visiblyMutable.removeChangeListener(myUpdateListener);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.