Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CED
CedFx
Commits
9877543d
Commit
9877543d
authored
Oct 11, 2019
by
Stéphane Moulinet
Browse files
Ajout comm. sur l'utilisation de Number
parent
5ae1d58b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/presles/Controleur/DeplacementController.java
View file @
9877543d
...
...
@@ -53,6 +53,7 @@ public class DeplacementController implements Initializable {
new PropertyValueFactory<Deplacement, String>("transport")
);*/
// ATTENTION ! Integer remplacé par Number
// https://fabrice-bouye.developpez.com/tutoriels/javafx/evenement-invalidation-modification-proprietes-expressions-javafx/#LIII-C-2-a
TableColumn
<
Deplacement
,
Number
>
distanceCol
=
new
TableColumn
<
Deplacement
,
Number
>(
"Distance"
);
TableColumn
<
Deplacement
,
String
>
transportCol
=
new
TableColumn
<
Deplacement
,
String
>(
"Transport"
);
distanceCol
.
setCellValueFactory
(
cellData
->
cellData
.
getValue
().
distanceProperty
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment