JavaFX Code Templates - plugin detail

Code templates to create JavaFX-Properties

n/a
Plugin owner: boessu
Website:
Added: 2016-04-18
License: lgpl 3.0
Category: Code Generation
Downloaded: 478 times
Rating:
 4.47, by 1 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.01 MB   Last Update: 2016-05-04

What's new in this version

- Fix: removed two standard templates which where also included by error. - Fix: adding one space before the template begins to prevent the auto-completion listing if the aim is more to get keywords like "public", "protected", "private".

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Generating JavaFX base type Properties on-the-fly with code templates. All templates begin with "fx", followed by the basic type. The basic lazy initialization ends with "lazy", read-only ends with "ro". The basic pattern has no specific ending. There are 3 patterns supported: Basic, Read-Only and Basic Lazy properties. Basic is the one as all cookbook will describe: Getter and Setter, Property method is based on javafx.bean.property-classes. Read-Only bases on Wrapper- and ReadOnly-property classes. Basic Lazy properties do manage a shadow-field (lazy initialization). On that way a Property-Class-Instance will only be created if someone really needs a property. Elsewhere it will be handled as standard field (less memory consumption). See https://wiki.openjdk.java.net/display/OpenJFX/JavaFX+Property+Architecture for further explanations, especially about the Basic Lazy pattern.

[ 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