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.actEvalFirstChildFalse;
|
|
|
|
import action.actEvalFirstChildTrue;
|
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 mnEvaluerPremierEnfant{
|
|
|
|
|
|
|
|
public static JMenu menu(){
|
|
|
|
JMenu mnEvaluerPremierEnfant = new JMenu("Le node est le premier enfant");
|
|
|
|
mnEvaluerPremierEnfant.setIcon(new ImageIcon(create.class.getResource("/resources/premierenfantmini.png")));
|
|
|
|
mnEvaluerPremierEnfant.add(new actEvalFirstChildTrue());
|
|
|
|
mnEvaluerPremierEnfant.add(new actEvalFirstChildFalse());
|
|
|
|
return mnEvaluerPremierEnfant;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|