Package ca.nengo.ui.lib.world.WorldObject

Examples of ca.nengo.ui.lib.world.WorldObject.Listener


    init();
  }

  private void init() {

    addPropertyChangeListener(Property.PARENTS_CHANGED, new Listener() {
      public void propertyChanged(Property event) {
        if (getParent() instanceof ElasticGround) {
          elasticGround = (ElasticGround) getParent();
        }
      }
    });

    addPropertyChangeListener(Property.BOUNDS_CHANGED, new Listener() {
      public void propertyChanged(Property event) {
        recalculateRepulsionRange();
      }
    });
    recalculateRepulsionRange();
View Full Code Here

TOP

Related Classes of ca.nengo.ui.lib.world.WorldObject.Listener

Copyright © 2018 www.massapicom. 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.