private static SimpleStringProperty createStringProperty( final String name, final String defaultValue) { final SimpleStringProperty property = new SimpleStringProperty(null, name, p.get(name, defaultValue)); property.addListener(stringChangeListener); return property; }
public Functionality() { sequence.addListener((e) -> this.isRNA.setValue(isRnaSequence())); dotBracket.addListener((e) -> this.isMatchingNotation.setValue(isMatchingDotBracket())); }