31 lines
728 B
Java
31 lines
728 B
Java
|
package sousmenuArbre;
|
||
|
|
||
|
import javax.swing.JMenu;
|
||
|
|
||
|
import action.actCollapseAll;
|
||
|
import action.actCollapseNode;
|
||
|
import action.actDownNode;
|
||
|
import action.actExpandAll;
|
||
|
import action.actExpandNode;
|
||
|
import action.actUpNode;
|
||
|
|
||
|
/**
|
||
|
* Menu Arbre.</br>
|
||
|
* @author pabr6
|
||
|
*
|
||
|
*/
|
||
|
public class mnArbre {
|
||
|
public static JMenu menu() {
|
||
|
JMenu mnManageTree = new JMenu("Arbre");
|
||
|
mnManageTree.add(new actUpNode());
|
||
|
mnManageTree.add(new actDownNode());
|
||
|
mnManageTree.addSeparator();
|
||
|
mnManageTree.add(new actExpandAll());
|
||
|
mnManageTree.add(new actExpandNode());
|
||
|
mnManageTree.addSeparator();
|
||
|
mnManageTree.add(new actCollapseAll());
|
||
|
mnManageTree.add(new actCollapseNode());
|
||
|
return mnManageTree;
|
||
|
}
|
||
|
}
|