/UnitFX

A framework for creating input fields for units of measure (e.g. "mass", "speed", "length").

Primary LanguageJavaApache License 2.0Apache-2.0

Bugs Code Smells Lines of Code Maintainability Rating Quality Gate Status Reliability Rating Security Rating Technical Debt Vulnerabilities

UnitFX

UnitFX is a lightweight framework for creating textfield input controls based on a "unit of measure" UOM. Currently the only documentation is the source code itself. Please take a look at the file DemoApp.java to find out how to use the framework.

QuantityInputField will perform validation and conversion between different units out-of-the-box. A "base" unit can be set on a textfield and the field will be highlighted when the user changes the textfield's unit to something different than the base unit.

At least JDK 11 is required.

screenshot of demo_app