/** * Constructs an empty TextArea with given caption. * * @param caption * the caption for the field. */ public TextArea(String caption) { this(); setCaption(caption); }
/** * Constructs a TextArea with given caption and property data source. * * @param caption * the caption for the field * @param dataSource * the data source for the field */ public TextArea(String caption, Property dataSource) { this(dataSource); setCaption(caption); }