public BooleanProperty(PropertyHolder element, string name)
   : base((Class) ClassLiteral<Boolean>.Value, element, name)
 {
   BooleanProperty booleanProperty = this;
   this.box = new JCheckBox();
   this.checkbox = new DefaultCellEditor(this.box);
   this.renderer = (TableCellRenderer) new BooleanProperty\u00241(this);
 }
Esempio n. 2
0
 public MultiProperty(PropertyHolder holder, string name)
   : base(holder, name)
 {
   MultiProperty multiProperty = this;
   this.comboBox = new JComboBox();
   this.cellEditor = new DefaultCellEditor(this.comboBox);
   this.values = (Map) new HashMap();
   this.renderer = (TableCellRenderer) new MultiProperty\u00241(this);
 }
 public BooleanProperty(PropertyHolder element, string name, bool defaultValue)
 {
   int num = defaultValue ? 1 : 0;
   // ISSUE: explicit constructor call
   base.\u002Ector((Class) ClassLiteral<Boolean>.Value, element, name, (object) Boolean.valueOf(num != 0));
   BooleanProperty booleanProperty = this;
   this.box = new JCheckBox();
   this.checkbox = new DefaultCellEditor(this.box);
   this.renderer = (TableCellRenderer) new BooleanProperty\u00241(this);
 }