Enforce the repository rule that JavaFX property Javadocs belong only on the property accessor method.
When documenting JavaFX observable properties in this repository, add Javadocs only to the property accessor method such as colorProperty().
For a JavaFX property:
colorProperty()getColor() or isColor()setColor(...)Example:
private final StringProperty color = new SimpleStringProperty(this, "color", "");
/**
* The color property.
*
* @return the color property
*/
public final StringProperty colorProperty() {
return color;
}
public final String getColor() {
return color.get();
}
public final void setColor(String value) {
color.set(value);
}
final.