How to bind TextField and String object in JavaFX?
<p>I have some words which I show in TextField. I want to rewrite this words every time when this words have been changed in TextField. 
This is my type:</p>

<pre><code>class WordType {
   String first;
   String second;
}
</code></pre>

<p>and ListView where I show my words:</p>

<pre><code>ListView&lt;WordType&gt; list = new ListView&lt;&gt;();

list.setCellFactory(lv -&gt; new ListCell&lt;WordType&gt;() {
        @Override
        public void updateItem(WordType item, boolean empty){
            super.updateItem(item, empty);
            if (empty){
                setText(null);
            } else {
                ToolBar root = new ToolBar();

                TextField word = new TextField(item.first);

                TextField translate = new TextField(item.second);

                root.getItems().addAll(word, new Separator(), translate);
                setGraphic(root);
            }
        }
    });
</code></pre>

<p>How change strings in WordType if I change these strings in TextField?</p>

<p>Sorry, for my bad English =) </p>