yourColumn.setOnEditCommit(
new EventHandler<CellEditEvent<YourClass, String>>() {
@Override
public void handle(CellEditEvent<YourClass, String> t) {
((YourClass) t.getTableView().getItems().get(
t.getTablePosition().getRow())
).setPropertyWhatYouNeed(t.getNewValue());
}
}
);