2023-02-05 16:09:48 +01:00
|
|
|
package sousmenuEvaluation;
|
|
|
|
|
|
|
|
import javax.swing.ImageIcon;
|
|
|
|
import javax.swing.JMenu;
|
2023-02-05 17:46:02 +01:00
|
|
|
|
|
|
|
import action.actEvalLastChildFalse;
|
|
|
|
import action.actEvalLastChildTrue;
|
2023-02-05 16:09:48 +01:00
|
|
|
import fenetres.create;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Menu pour évaluer si le node est le dernier enfant.</br>
|
|
|
|
* @author pabr6
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class mnEvaluerDernierEnfant{
|
|
|
|
|
|
|
|
public static JMenu menu(){
|
|
|
|
JMenu mnEvaluerDernierEnfant = new JMenu("Le node est le dernier enfant");
|
|
|
|
mnEvaluerDernierEnfant.setIcon(new ImageIcon(create.class.getResource("/resources/dernierenfantmini.png")));
|
|
|
|
mnEvaluerDernierEnfant.add(new actEvalLastChildTrue());
|
|
|
|
mnEvaluerDernierEnfant.add(new actEvalLastChildFalse());
|
|
|
|
return mnEvaluerDernierEnfant;
|
|
|
|
}
|
|
|
|
}
|