Exemplo n.º 1
0
 public TextBox()
 {
   TextBox textBox = this;
   this.__\u003C\u003Eeditable = new BooleanProperty((PropertyHolder) this, "Editable", true);
   this.__\u003C\u003Ebackground = new ColorProperty((PropertyHolder) this, "Background");
 }
Exemplo n.º 2
0
 public Subsystem()
 {
   Subsystem subsystem = this;
   this.__\u003C\u003Ebackground = new ColorProperty((PropertyHolder) this, "Background");
 }
Exemplo n.º 3
0
 public ProgressBar()
 {
   ProgressBar progressBar = this;
   this.__\u003C\u003Eforeground = new ColorProperty((PropertyHolder) this, "Foreground");
   this.__\u003C\u003Ebackground = new ColorProperty((PropertyHolder) this, "Background");
   this.__\u003C\u003Emax = new DoubleProperty((PropertyHolder) this, "Maximum", 100.0);
   this.__\u003C\u003Emin = new DoubleProperty((PropertyHolder) this, "Minimum", 0.0);
 }
 public ConnectionIndicator()
 {
   ConnectionIndicator connectionIndicator = this;
   this.__\u003C\u003Epositive = new ColorProperty((PropertyHolder) this, "Connection Color", (Color) Color.GREEN);
   this.__\u003C\u003Enegative = new ColorProperty((PropertyHolder) this, "No Connection Color", (Color) Color.RED);
   this.__\u003C\u003Edisplay = new MultiProperty((PropertyHolder) this, "Graphics");
   this.firstRun = true;
   this.connected = false;
   this.repainter = (Runnable) new ConnectionIndicator\u00241(this);
   ((JComponent) this).setPreferredSize(new Dimension(32, 32));
   this.__\u003C\u003Edisplay.add("Embossed", (object) Integer.valueOf(0));
   this.__\u003C\u003Edisplay.add("Engraved", (object) Integer.valueOf(1));
   this.__\u003C\u003Edisplay.add("Rounded", (object) Integer.valueOf(2));
   this.__\u003C\u003Edisplay.add("Simple", (object) Integer.valueOf(3));
   this.__\u003C\u003Edisplay.setDefault((object) "Embossed");
 }
Exemplo n.º 5
0
 public Compass()
 {
   Compass compass = this;
   this.__\u003C\u003Ecircumference = new DoubleProperty((PropertyHolder) this, "Circumference", 360.0);
   this.__\u003C\u003EringColor = new ColorProperty((PropertyHolder) this, "Ring Color", (Color) Color.YELLOW);
   this.data = new DefaultValueDataset(0.0);
 }
Exemplo n.º 6
0
 public Command()
 {
   Command command = this;
   this.__\u003C\u003EstartBackground = new ColorProperty((PropertyHolder) this, "Start Button Color", new Color(32, 134, 32));
   this.__\u003C\u003EcancelBackground = new ColorProperty((PropertyHolder) this, "Cancel Button Color", new Color(243, 32, 32));
 }
Exemplo n.º 7
0
 public BooleanBox()
 {
   BooleanBox booleanBox = this;
   this.__\u003C\u003EcolorOnTrue = new ColorProperty((PropertyHolder) this, "Color to show when true", (Color) Color.GREEN);
   this.__\u003C\u003EcolorOnFalse = new ColorProperty((PropertyHolder) this, "Color to show when false", (Color) Color.RED);
 }
Exemplo n.º 8
0
 public FormattedField()
 {
   FormattedField formattedField = this;
   this.__\u003C\u003Eforeground = new ColorProperty((PropertyHolder) this, "Foreground");
   this.__\u003C\u003Ebackground = new ColorProperty((PropertyHolder) this, "Background");
   this.__\u003C\u003EfontSize = new IntegerProperty((PropertyHolder) this, "Font Size", 12);
 }