Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use ReadOnlyBooleanProperty instead of ObservableValue<Boolean> #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

daniel-shuy
Copy link

First off, thanks for this library.

This PR modifies DirtyProperty#isDirtyProperty(), DirtyBooleanProperty#originalValueProperty() to return ReadOnlyBooleanProperty instead of ObservableValue, and modifies CompositeDirtyProperty to extend ReadOnlyBooleanProperty instead of ObservableValue.

The reason for this is that ReadOnlyBooleanProperty has some useful utility methods, eg. BooleanExpression#not().

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant