JavaFx Property Getter & Setter Generator - plugin detail

Automatically generates getter and setter methods for JavaFX Properties in a POJO.

NetBeans Plugin - JavaFx Property Getter & Setter Generator
Plugin owner: rterp
Website: https://github.com/rterp/JavaFxPropertyHelperNBPlugin
Added: 2015-12-03
License: MIT
Category: Code Generation
Downloaded: 962 times
Rating:
 4.41, by 2 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.02 MB   Last Update: 2015-12-11

What's new in this version

Updated plugin so that the methods that it generates are marked as final.

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.02 MB   Last Update: 2015-12-11

What's new in this version

Updated plugin so that the methods that it generates are marked as final.

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Automatically generates getter and setter methods for JavaFx Properties in a POJO. This NetBeans plugin will help to generate get/set methods for JavaFx properties that are contained within a POJO. The standard get/set code generator creates the following get/set methods for a JavaFX property which is not ideal:

private StringProperty name;

public StringProperty getName() { 
    return name;
}
public void setName( StringProperty name ) {
    this.name = name;
}


This plugin would create the following methods:

public final String getName() {
    return name.get();
}

public final  void setName( String value ) {
    name.set(value);
}

public final  StringProperty nameProperty() {
    return name;
}

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo