Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/comtel2000/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.
https://github.com/comtel2000/fx-properties-module
guice java javafx
Last synced: 7 days ago
JSON representation
This Guice module allows JavaFX applications to bind FX Properties to Preferences and store and retrieve it from the OS-specific registry.
- Host: GitHub
- URL: https://github.com/comtel2000/fx-properties-module
- Owner: comtel2000
- Created: 2015-06-12T21:35:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-12T23:29:07.000Z (over 9 years ago)
- Last Synced: 2024-11-09T08:14:31.900Z (2 months ago)
- Topics: guice, java, javafx
- Language: Java
- Homepage: http://comtel2000.org
- Size: 141 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fx-properties-module
This [Guice](https://github.com/google/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:
```java@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();
}```