@Test public void setBoolean() { BooleanPM model = new BooleanPM(); model.setBoolean(true); assertEquals("pM.getText()", model.getOptions().get(true), model.getText()); model.setBoolean(false); assertEquals("pM.getText()", model.getOptions().get(false), model.getText()); model.setBoolean(null); assertEquals("pM.getText()", "", model.getText()); }
public void setBoolean(Boolean b) { if (b == null) { this.setText(null); } else { Options<Boolean> options = this.getOptions(); String txt = options.get(b); this.setText(txt); } }
BooleanPM extends TextPM implements IBooleanPM { public void setBoolean(Boolean b) { if (b == null) { this.setText(null); } else { Options<Boolean> options = this.getOptions(); String txt = options.get(b); this.setText(txt); } } }
BooleanPM extends TextPM implements IBooleanPM { public void setBoolean(Boolean b) { if (b == null) { this.setText(null); } else { Options<Boolean> options = this.getOptions(); String txt = options.get(b); this.setText(txt); } } BooleanPM(); }
BooleanPM extends TextPM implements IBooleanPM { public void setBoolean(Boolean b) { if (b == null) { this.setText(null); } else { Options<Boolean> options = this.getOptions(); String txt = options.get(b); this.setText(txt); } } BooleanPM(); void setBoolean(Boolean b); Boolean getBoolean(); void setDefaultBoolean(Boolean value); }
BooleanPM extends TextPM implements IBooleanPM { public void setBoolean(Boolean b) { if (b == null) { this.setText(null); } else { Options<Boolean> options = this.getOptions(); String txt = options.get(b); this.setText(txt); } } BooleanPM(); void setBoolean(Boolean b); Boolean getBoolean(); void setDefaultBoolean(Boolean value);  }