public AbstractValueWidget()
 {
   AbstractValueWidget abstractValueWidget = this;
   this.booleanDisplayer = BooleanBindable.NULL;
   this.numberDisplayer = NumberBindable.NULL;
   this.stringDisplayer = StringBindable.NULL;
 }
 protected internal virtual void setBooleanBinding(string key, BooleanBindable displayer)
 {
   if (this.booleanFields.containsKey((object) key))
   {
     string str = new StringBuilder().append("Cannot have multiple boolean fields for the same key: ").append(key).toString();
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new RuntimeException(str);
   }
   else
     this.booleanFields.put((object) key, (object) displayer);
 }
 public virtual void setBooleanBinding(BooleanBindable booleanDisplayer)
 {
   this.booleanDisplayer = booleanDisplayer;
 }
Exemple #4
0
 public BindableBooleanField(BooleanBindable bindable)
 {
   Widget.BindableBooleanField bindableBooleanField = this;
   this.bindable = bindable;
 }
Exemple #5
0
 public BindableBooleanCheckBox(BooleanBindable bindable)
 {
   Widget.BindableBooleanCheckBox bindableBooleanCheckBox = this;
   this.bindable = bindable;
 }