/** * Tree constructor. * * @param id * The component id */ public DefaultAbstractTree(String id) { super(id); init(); }
/** * Tree constructor. * * @param id * The component id * @param model * The tree model */ public DefaultAbstractTree(String id, IModel<TreeModel> model) { super(id, model); init(); }
/** * Tree constructor. * * @param id * The component id * @param model * The tree model */ @SuppressWarnings("unchecked") public DefaultAbstractTree(String id, TreeModel model) { super(id, new WicketTreeModel()); setModelObject(model); init(); }