@Test public void isModified() { BooleanPM pModel = new BooleanPM(); pModel.setBoolean(true); pModel.preset(); assertEquals("pModel.isModified()", false, pModel.isModified()); pModel.setBoolean(false); assertEquals("pModel.isModified()", true, pModel.isModified()); pModel.reset(); assertEquals("pModel.isModified()", false, pModel.isModified()); }
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);  }