1 package com.loribel.commons.abstraction; 2 3 import javax.swing.tree.*; 4 5 /*** 6 * Prototype to create a TreeNode. 7 * 8 * @author Grégory Borelli 9 */ 10 public interface GB_TreeNodePrototype 11 { 12 13 /*** 14 * Return a new node. 15 * 16 * @param a_model Object - object model to the tree node. 17 * 18 * @return DefaultMutableTreeNode 19 */ 20 DefaultMutableTreeNode newTreeNode( 21 Object a_model); 22 23 }