Urbi SDK Remote for Java  2.7.5
UProperty.java
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 2.0.4
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package urbi;
00010 
00011 public enum UProperty {
00012   PROP_RANGEMIN,
00013   PROP_RANGEMAX,
00014   PROP_SPEEDMIN,
00015   PROP_SPEEDMAX,
00016   PROP_BLEND,
00017   PROP_DELTA,
00018   PROP_CONSTANT;
00019 
00020   public final int swigValue() {
00021     return swigValue;
00022   }
00023 
00024   public static UProperty swigToEnum(int swigValue) {
00025     UProperty[] swigValues = UProperty.class.getEnumConstants();
00026     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
00027       return swigValues[swigValue];
00028     for (UProperty swigEnum : swigValues)
00029       if (swigEnum.swigValue == swigValue)
00030         return swigEnum;
00031     throw new IllegalArgumentException("No enum " + UProperty.class + " with value " + swigValue);
00032   }
00033 
00034   @SuppressWarnings("unused")
00035   private UProperty() {
00036     this.swigValue = SwigNext.next++;
00037   }
00038 
00039   @SuppressWarnings("unused")
00040   private UProperty(int swigValue) {
00041     this.swigValue = swigValue;
00042     SwigNext.next = swigValue+1;
00043   }
00044 
00045   @SuppressWarnings("unused")
00046   private UProperty(UProperty swigEnum) {
00047     this.swigValue = swigEnum.swigValue;
00048     SwigNext.next = this.swigValue+1;
00049   }
00050 
00051   private final int swigValue;
00052 
00053   private static class SwigNext {
00054     private static int next = 0;
00055   }
00056 }
00057