Created
June 25, 2013 15:55
-
-
Save christophe-dooapp/5859630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private StringBinding nameBinding = new FXStringBinding() { | |
@Override | |
protected void configure() { | |
try { | |
addObservable(aProperty); | |
addObservable(aProperty.get().bProperty()); | |
addObservable(aProperty.get().bProperty().get().cProperty()); | |
addObservable(aProperty.get().bProperty().get().cProperty().get().stringProperty()); | |
} catch (NullPointerException ignored) { | |
} | |
} | |
@Override | |
protected String compute() { | |
try { | |
return aProperty.get().bProperty().get().cProperty().get().stringProperty().get(); | |
} catch (NullPointerException e) { | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment