@Test public void mark() { }
public void mark() { if (!hasDescription()) { throw new UnsupportedOperationException( "Only Fields can be marked, since they have a description." ); } if (!marked) { SimpleControl renderer = (SimpleControl) ((Field) getElement()).getRenderer(); Node markNode = renderer.getFieldLabel(); markNode.getStyleClass().add(MARKED_STYLE_CLASS); markNode.setOnMouseExited(unmarker); marked = !marked; } }
Setting { public void mark() { if (!hasDescription()) { throw new UnsupportedOperationException( "Only Fields can be marked, since they have a description." ); } if (!marked) { SimpleControl renderer = (SimpleControl) ((Field) getElement()).getRenderer(); Node markNode = renderer.getFieldLabel(); markNode.getStyleClass().add(MARKED_STYLE_CLASS); markNode.setOnMouseExited(unmarker); marked = !marked; } } }
Setting { public void mark() { if (!hasDescription()) { throw new UnsupportedOperationException( "Only Fields can be marked, since they have a description." ); } if (!marked) { SimpleControl renderer = (SimpleControl) ((Field) getElement()).getRenderer(); Node markNode = renderer.getFieldLabel(); markNode.getStyleClass().add(MARKED_STYLE_CLASS); markNode.setOnMouseExited(unmarker); marked = !marked; } } private  Setting(String description, E element, P value); }
Setting { public void mark() { if (!hasDescription()) { throw new UnsupportedOperationException( "Only Fields can be marked, since they have a description." ); } if (!marked) { SimpleControl renderer = (SimpleControl) ((Field) getElement()).getRenderer(); Node markNode = renderer.getFieldLabel(); markNode.getStyleClass().add(MARKED_STYLE_CLASS); markNode.setOnMouseExited(unmarker); marked = !marked; } } private  Setting(String description, E element, P value); static Setting of(String description, BooleanProperty property); static Setting of(String description, IntegerProperty property); static Setting of(String description, DoubleProperty property); static Setting of(
      String description, DoubleProperty property, double min, double max, int precision); static Setting of(String description, IntegerProperty property, int min, int max); static Setting of(String description, StringProperty property); static Setting of(
      String description, ListProperty<P> items, ObjectProperty<P> selection); static Setting of(
      String description, ObservableList<P> items, ObjectProperty<P> selection); static Setting of(
      String description, ListProperty<P> items, ListProperty<P> selections); static Setting of(
      String description, ObservableList<P> items, ListProperty<P> selections); static Setting of(
      String description, F field, P property); static Setting of(N node); static Setting of(String description, ObjectProperty<Color> colorProperty); static Setting of(String description,
                           ObjectProperty<File> fileProperty,
                           boolean directory); static Setting of(String description,
                           ObjectProperty<File> fileProperty,
                           File initialDirectory,
                           boolean directory); static Setting of(String description,
                           ObjectProperty<File> fileProperty,
                           String buttonText,
                           File initialDirectory,
                           boolean directory); @SafeVarargs final Setting validate(Validator... newValue); void mark(); void unmark(); String getDescription(); P valueProperty(); E getElement(); void saveSettingValue(StorageHandler storageHandler); void loadSettingValue(StorageHandler storageHandler); void addToBreadcrumb(String breadCrumb); boolean hasValue(); boolean hasDescription(); String getBreadcrumb(); StringProperty breadcrumbProperty(); void setBreadcrumb(String breadcrumb); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); Setting customKey(String key); }
Setting { public void mark() { if (!hasDescription()) { throw new UnsupportedOperationException( "Only Fields can be marked, since they have a description." ); } if (!marked) { SimpleControl renderer = (SimpleControl) ((Field) getElement()).getRenderer(); Node markNode = renderer.getFieldLabel(); markNode.getStyleClass().add(MARKED_STYLE_CLASS); markNode.setOnMouseExited(unmarker); marked = !marked; } } private  Setting(String description, E element, P value); static Setting of(String description, BooleanProperty property); static Setting of(String description, IntegerProperty property); static Setting of(String description, DoubleProperty property); static Setting of(
      String description, DoubleProperty property, double min, double max, int precision); static Setting of(String description, IntegerProperty property, int min, int max); static Setting of(String description, StringProperty property); static Setting of(
      String description, ListProperty<P> items, ObjectProperty<P> selection); static Setting of(
      String description, ObservableList<P> items, ObjectProperty<P> selection); static Setting of(
      String description, ListProperty<P> items, ListProperty<P> selections); static Setting of(
      String description, ObservableList<P> items, ListProperty<P> selections); static Setting of(
      String description, F field, P property); static Setting of(N node); static Setting of(String description, ObjectProperty<Color> colorProperty); static Setting of(String description,
                           ObjectProperty<File> fileProperty,
                           boolean directory); static Setting of(String description,
                           ObjectProperty<File> fileProperty,
                           File initialDirectory,
                           boolean directory); static Setting of(String description,
                           ObjectProperty<File> fileProperty,
                           String buttonText,
                           File initialDirectory,
                           boolean directory); @SafeVarargs final Setting validate(Validator... newValue); void mark(); void unmark(); String getDescription(); P valueProperty(); E getElement(); void saveSettingValue(StorageHandler storageHandler); void loadSettingValue(StorageHandler storageHandler); void addToBreadcrumb(String breadCrumb); boolean hasValue(); boolean hasDescription(); String getBreadcrumb(); StringProperty breadcrumbProperty(); void setBreadcrumb(String breadcrumb); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); Setting customKey(String key); static final String MARKED_STYLE_CLASS; }