Package ca.nengo.config.impl

Examples of ca.nengo.config.impl.ConfigurationImpl.removeProperty()


  /**
   * @return Custom Configuration (to more cleanly handle properties in 1D)
   */
  public Configuration getConfiguration() {
    ConfigurationImpl result = ConfigUtil.defaultConfiguration(this);
    result.removeProperty("units");
    result.removeProperty("units1D");
    result.removeProperty("values");
    result.removeProperty("values1D");
    result.removeProperty("labels");
   
View Full Code Here


   * @return Custom Configuration (to more cleanly handle properties in 1D)
   */
  public Configuration getConfiguration() {
    ConfigurationImpl result = ConfigUtil.defaultConfiguration(this);
    result.removeProperty("units");
    result.removeProperty("units1D");
    result.removeProperty("values");
    result.removeProperty("values1D");
    result.removeProperty("labels");
   
    try {
View Full Code Here

   */
  public Configuration getConfiguration() {
    ConfigurationImpl result = ConfigUtil.defaultConfiguration(this);
    result.removeProperty("units");
    result.removeProperty("units1D");
    result.removeProperty("values");
    result.removeProperty("values1D");
    result.removeProperty("labels");
   
    try {
      Method unitsGetter = this.getClass().getMethod("getUnits1D", new Class[0]);
View Full Code Here

  public Configuration getConfiguration() {
    ConfigurationImpl result = ConfigUtil.defaultConfiguration(this);
    result.removeProperty("units");
    result.removeProperty("units1D");
    result.removeProperty("values");
    result.removeProperty("values1D");
    result.removeProperty("labels");
   
    try {
      Method unitsGetter = this.getClass().getMethod("getUnits1D", new Class[0]);
      Method unitsSetter = this.getClass().getMethod("setUnits", new Class[]{Units.class});
View Full Code Here

    ConfigurationImpl result = ConfigUtil.defaultConfiguration(this);
    result.removeProperty("units");
    result.removeProperty("units1D");
    result.removeProperty("values");
    result.removeProperty("values1D");
    result.removeProperty("labels");
   
    try {
      Method unitsGetter = this.getClass().getMethod("getUnits1D", new Class[0]);
      Method unitsSetter = this.getClass().getMethod("setUnits", new Class[]{Units.class});
      result.defineProperty(new SingleValuedPropertyImpl(result, "units", Units.class, unitsGetter, unitsSetter));
View Full Code Here

  /**
   * @return Custom configuration
   */
  public Configuration getConfiguration() {
    ConfigurationImpl result = ConfigUtil.defaultConfiguration(this);
    result.removeProperty("basisDimension");
    try {
      Method getter = this.getClass().getMethod("getFunction", new Class[]{Integer.TYPE});
      Method countGetter = this.getClass().getMethod("getBasisDimension", new Class[0]);
      result.defineProperty(new ListPropertyImpl(result, "functions", Function.class, getter, countGetter));     
    } catch (Exception e) {
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.