示例#1
0
  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;
  }
示例#2
0
  public Functionality() {

    sequence.addListener((e) -> this.isRNA.setValue(isRnaSequence()));
    dotBracket.addListener((e) -> this.isMatchingNotation.setValue(isMatchingDotBracket()));
  }