Пример #1
0
 public ServoController()
 {
   ServoController servoController = this;
   this.zeroButton = new JButton("Zero");
   this.defaultText = "0.0";
   this.feedback = new Widget.UneditableNumberField();
   this.valueEntry = (NumberBindable) this.getTableEntryBindable("Value");
 }
Пример #2
0
 public EncoderDisplay()
 {
   EncoderDisplay encoderDisplay = this;
   this.speedTag = new JLabel("Speed");
   this.distanceTag = new JLabel("Distance");
   this.DPTTag = new JLabel("Distance per Tick");
   this.speed = new Widget.UneditableNumberField();
   this.distance = new Widget.UneditableNumberField();
   this.DPT = new Widget.BindableNumberField((NumberBindable) null);
   this.zero = new JButton("Zero Distance");
 }
Пример #3
0
 public GyroDisplay()
 {
   GyroDisplay gyroDisplay = this;
   this.compass = new Compass();
   this.feedback = new Widget.UneditableNumberField();
   string[] strArray = new string[2];
   int index1 = 0;
   string str1 = "Display as Text";
   strArray[index1] = str1;
   int index2 = 1;
   string str2 = "Display as Compass";
   strArray[index2] = str2;
   this.names = strArray;
   JComboBox.__\u003Cclinit\u003E();
   this.menu = new JComboBox((object[]) this.names);
 }
 public SingleNumberDisplay()
 {
   SingleNumberDisplay singleNumberDisplay = this;
   this.__\u003C\u003EdefaultText = " ---- ";
   this.display = new Widget.UneditableNumberField();
 }