@Test public void emptyAfterClear() { TextArea tf = new TextArea(); tf.setValue("foobar"); Assert.assertFalse(tf.isEmpty()); tf.clear(); Assert.assertTrue(tf.isEmpty()); }
@Override public void clear() { setValue(""); }
TextArea extends AbstractTextField { @Override public void clear() { setValue(""); } }
TextArea extends AbstractTextField { @Override public void clear() { setValue(""); } TextArea();  TextArea(String caption);  TextArea(Property dataSource);  TextArea(String caption, Property dataSource);  TextArea(String caption, String value); }
TextArea extends AbstractTextField { @Override public void clear() { setValue(""); } TextArea();  TextArea(String caption);  TextArea(Property dataSource);  TextArea(String caption, Property dataSource);  TextArea(String caption, String value); void setRows(int rows); int getRows(); void setWordwrap(boolean wordwrap); boolean isWordwrap(); @Override void readDesign(Element design, DesignContext designContext); @Override void writeDesign(Element design, DesignContext designContext); @Override void clear(); }
TextArea extends AbstractTextField { @Override public void clear() { setValue(""); } TextArea();  TextArea(String caption);  TextArea(Property dataSource);  TextArea(String caption, Property dataSource);  TextArea(String caption, String value); void setRows(int rows); int getRows(); void setWordwrap(boolean wordwrap); boolean isWordwrap(); @Override void readDesign(Element design, DesignContext designContext); @Override void writeDesign(Element design, DesignContext designContext); @Override void clear();  }