Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

fx-properties-module

This Guice module allows JavaFX applications to bind FX Properties to Preferences and store and retrieve it from the OS-specific registry. It's inspired by the fx-guice (https://github.com/cathive/fx-guice) preferences injection.

sample usage:

	@PreferenceContext
	PreferenceBinder persist;

	@FXML
	TextField userName;

	public Demo() {
		// store and retrieve user name from OS registry
		persist.bind(userName.textProperty(), "user.name");
	}

	void close() {
		persist.flush();
	}

About

This Guice module allows JavaFX applications to bind FX Properties to Preferences and store and retrieve it from the OS-specific registry.

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages