diff options
| author | polo <ordipolo@gmx.fr> | 2026-07-02 00:14:17 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-07-02 00:14:17 +0200 |
| commit | 0c2c3ee5a55f36d270171f2f67938542e251fdc5 (patch) | |
| tree | 8ea4d6a7ad09a5b1389b829980a7a5476982e754 /src/main/java/modele/Bouton.java | |
| download | ppe_javafx-0c2c3ee5a55f36d270171f2f67938542e251fdc5.tar.gz ppe_javafx-0c2c3ee5a55f36d270171f2f67938542e251fdc5.tar.bz2 ppe_javafx-0c2c3ee5a55f36d270171f2f67938542e251fdc5.zip | |
fork utilisant maven
Diffstat (limited to 'src/main/java/modele/Bouton.java')
| -rw-r--r-- | src/main/java/modele/Bouton.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/java/modele/Bouton.java b/src/main/java/modele/Bouton.java new file mode 100644 index 0000000..4d5c911 --- /dev/null +++ b/src/main/java/modele/Bouton.java | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | package modele; | ||
| 2 | |||
| 3 | import javafx.event.ActionEvent; | ||
| 4 | import javafx.event.EventHandler; | ||
| 5 | import javafx.scene.Node; | ||
| 6 | import javafx.scene.control.Button; | ||
| 7 | |||
| 8 | public class Bouton extends Button{ | ||
| 9 | |||
| 10 | public Bouton() { | ||
| 11 | super(); | ||
| 12 | // TODO Auto-generated constructor stub | ||
| 13 | } | ||
| 14 | |||
| 15 | public Bouton(String text, Node graphic) { | ||
| 16 | super(text, graphic); | ||
| 17 | // TODO Auto-generated constructor stub | ||
| 18 | } | ||
| 19 | |||
| 20 | public Bouton(String text) { | ||
| 21 | super(text); | ||
| 22 | // TODO Auto-generated constructor stub | ||
| 23 | } | ||
| 24 | |||
| 25 | |||
| 26 | public Bouton setOnAction2(EventHandler<ActionEvent> value) { | ||
| 27 | super.setOnAction(value); | ||
| 28 | return this; | ||
| 29 | |||
| 30 | } | ||
| 31 | } | ||
