java.lang.Object
org.praxislive.code.userapi.Property.Sync
- Enclosing class:
Property
The Sync instance of a Property allows for synchronizing the value of a
property to a control on another component. Synchronization is
bi-directional. The Sync instance can be obtained using
Property.sync().-
Method Summary
Modifier and TypeMethodDescriptionbindTo(ControlAddress address) Bind to the specified control.info()Obtain theControlInfofor the bound control, if and when synchronized.unbind()Unbind and stop synchronization.
-
Method Details
-
bindTo
Bind to the specified control. A Sync can only be bound to one control at a time.- Parameters:
address- binding address to synchronize to- Returns:
- this
-
unbind
Unbind and stop synchronization.- Returns:
- this
-
info
Obtain theControlInfofor the bound control, if and when synchronized.- Returns:
- bound control info
-