V4.5.0 l'évaluation du premier node ou du dernier node est possible si
le node ne possède pas de frère avant ou de frère après.
This commit is contained in:
parent
0896fff099
commit
3571fc98ff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -580,10 +580,14 @@ public final class create extends JFrame {
|
||||
if(listeDesNodesEvalPlacement.isPlacement(nod)) {
|
||||
btnevalPlacementtrue.setEnabled(true);
|
||||
btnevalPlacementfalse.setEnabled(true);
|
||||
btnevalFirstChildtrue.setEnabled(true);
|
||||
btnevalFirstChildfalse.setEnabled(true);
|
||||
btnevalLastChildtrue.setEnabled(true);
|
||||
btnevalLastChildfalse.setEnabled(true);
|
||||
if(nod.retourneLeNodeFrereAvant()==null) {
|
||||
btnevalFirstChildtrue.setEnabled(true);
|
||||
btnevalFirstChildfalse.setEnabled(true);
|
||||
}
|
||||
if(nod.retourneLeNodeFrereApres()==null) {
|
||||
btnevalLastChildtrue.setEnabled(true);
|
||||
btnevalLastChildfalse.setEnabled(true);
|
||||
}
|
||||
}
|
||||
if(listeDesNodesAncrable.isAncrable(nod)) {
|
||||
btnevalAncrageNumeroAbsoluePagetrue.setEnabled(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user