Package ca.nengo.config

Examples of ca.nengo.config.NamedValueProperty.removeValue()


          ListProperty property = (ListProperty) parent;
          property.remove(toRemove.getIndex());
          numValues = property.getNumValues();
        } else if (parent instanceof NamedValueProperty) {
          NamedValueProperty property = (NamedValueProperty) parent;
          property.removeValue(toRemove.getName());
          numValues = property.getValueNames().size();
        }

        TreeModelEvent removeEvent = new TreeModelEvent(this, path.getParentPath(),
            new int[]{toRemove.getIndex()}, new Object[]{toRemove});
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.