Interface TagBindingConstants
public interface TagBindingConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The key in the binding config object for the delay before assuming a write has failedstatic final String
The key in the binding config object for the mode of the path of the source tagstatic final String
Key in the binding config for publishing the null / UncertainInitialValue from first subscribingstatic final String
The key in the binding config object for the references when the mode is indirectstatic final String
The key in the binding config object for the path of the source tagstatic final double
Default value for the editor, plus the value if the key is missing from binding config.static final String
The type ID for tag bindings. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic BindingConfig
makeTagBinding
(TagPath tagPath, String tagProperty, boolean bidirectional, boolean coalesce) Convenience method to create a direct tag binding.
-
Field Details
-
TYPE_ID
The type ID for tag bindings.- See Also:
-
CONFIG_TAG_PATH
The key in the binding config object for the path of the source tag- See Also:
-
CONFIG_MODE
The key in the binding config object for the mode of the path of the source tag- See Also:
-
CONFIG_REFERENCES
The key in the binding config object for the references when the mode is indirect- See Also:
-
CONFIG_FALLBACK_DELAY
The key in the binding config object for the delay before assuming a write has failed- See Also:
-
DEFAULT_FALLBACK_DELAY
static final double DEFAULT_FALLBACK_DELAYDefault value for the editor, plus the value if the key is missing from binding config.- See Also:
-
CONFIG_PUBLISH_INITIAL
Key in the binding config for publishing the null / UncertainInitialValue from first subscribing- See Also:
-
-
Method Details
-
makeTagBinding
static BindingConfig makeTagBinding(TagPath tagPath, String tagProperty, boolean bidirectional, boolean coalesce) Convenience method to create a direct tag binding.- Parameters:
tagPath
- Path to the tag to bind to.tagProperty
- Name of the tag property to bind to.bidirectional
- Controls if the binding writes back to the tag.coalesce
- Whether bidirectional write backs should be coalesced.- Returns:
- A BindingConfig set up for a direct tag binding
-