@Test public void emptyAfterClear() { TextField tf = new TextField(); tf.setValue("foobar"); Assert.assertFalse(tf.isEmpty()); tf.clear(); Assert.assertTrue(tf.isEmpty()); }
@Override public void clear() { setValue(""); }
TextField extends AbstractTextField { @Override public void clear() { setValue(""); } }
TextField extends AbstractTextField { @Override public void clear() { setValue(""); } TextField();  TextField(String caption);  TextField(Property dataSource);  TextField(String caption, Property dataSource);  TextField(String caption, String value); }
TextField extends AbstractTextField { @Override public void clear() { setValue(""); } TextField();  TextField(String caption);  TextField(Property dataSource);  TextField(String caption, Property dataSource);  TextField(String caption, String value); @Override void readDesign(Element design, DesignContext designContext); @Override void writeDesign(Element design, DesignContext designContext); @Override void clear(); }
TextField extends AbstractTextField { @Override public void clear() { setValue(""); } TextField();  TextField(String caption);  TextField(Property dataSource);  TextField(String caption, Property dataSource);  TextField(String caption, String value); @Override void readDesign(Element design, DesignContext designContext); @Override void writeDesign(Element design, DesignContext designContext); @Override void clear();  }