Skip to content

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

Notifications You must be signed in to change notification settings

comtel2000/fx-properties-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages