How to set the vault state

Hi everyone, we are trying to add a new “locked” state in the App.
We don’t understand the exact flow of the state settings, besides is not clear to us what is the purpose of “createBooleanBindings” in the file Vault.java inside the package org.cryptomator.common.vaults.
Is there a moment where the functions “isLocked” “isMissing” ecc. are called or are they recalled automatically as they are listening the state changing?
(the specified functions are in the attached image below )

Thanks in advance for your help.

This isn’t really something “proprietary”, that’s why I can’t give you a detailed explanation on how things work. But you’re basically looking at code, which uses JavaFX. I’m sure you will find a lot of tutorials that explain how properties and bindings work in JavaFX. Hope this helps!

1 Like