Exemplo n.º 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;
  }
Exemplo n.º 2
0
  public Functionality() {

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