Package org.nlogo.agent

Examples of org.nlogo.agent.SliderConstraint


  }


  public void handle(org.nlogo.window.Events.AddSliderConstraintEvent e) {
    try {
      SliderConstraint con = SliderConstraint.makeSliderConstraint
          (world.observer(), e.minSpec, e.maxSpec, e.incSpec, e.value, e.slider.name(), this);
      e.slider.removeAllErrors();
      e.slider.setSliderConstraint(con);
      // now we set the constraint in the observer, so that it is enforced.
      int index = world.observerOwnsIndexOf(e.varname.toUpperCase());
View Full Code Here

TOP

Related Classes of org.nlogo.agent.SliderConstraint

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.