Package org.praxislive.ide.core.api
Class ValuePropertyAdaptor.ReadWrite
java.lang.Object
org.praxislive.base.Binding.Adaptor
org.praxislive.ide.core.api.ValuePropertyAdaptor
org.praxislive.ide.core.api.ValuePropertyAdaptor.ReadWrite
- Enclosing class:
ValuePropertyAdaptor
A writable value property adaptor.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.praxislive.ide.core.api.ValuePropertyAdaptor
ValuePropertyAdaptor.ReadOnly, ValuePropertyAdaptor.ReadWrite -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetValue(org.praxislive.core.Value value) Set the value and send to the bound control.Methods inherited from class org.praxislive.ide.core.api.ValuePropertyAdaptor
addPropertyChangeListener, getValue, removePropertyChangeListener, updateMethods inherited from class org.praxislive.base.Binding.Adaptor
getBinding, getSyncRate, getValueIsAdjusting, isActive, onError, onResponse, send, setActive, setSyncRate, updateBindingConfiguration
-
Constructor Details
-
ReadWrite
public ReadWrite(Object source, String property, boolean alwaysActive, org.praxislive.base.Binding.SyncRate rate) Create a writable value property adaptor.- Parameters:
source- source of events (may be null to use the adaptor itself)property- name of property for eventsalwaysActive- whether to sync even without listenersrate- sync rate
-
-
Method Details
-
setValue
public void setValue(org.praxislive.core.Value value) Set the value and send to the bound control.- Parameters:
value- new value
-