Class SignalBindingFeature

All Implemented Interfaces:
Serializable

public class SignalBindingFeature extends ServerSideFeature
Node feature for binding Signals to various properties of a node.

For internal use only. May be renamed or removed in a future release.

See Also:
  • Field Details

  • Constructor Details

    • SignalBindingFeature

      public SignalBindingFeature(StateNode node)
      Creates a SignalBindingFeature for the given node.
      Parameters:
      node - the node which supports the feature
  • Method Details

    • setBinding

      public void setBinding(String key, Registration registration, com.vaadin.signals.Signal<?> signal)
      Sets a binding for the given key.
      Parameters:
      key - the key
      registration - the registration
      signal - the signal
    • hasBinding

      public boolean hasBinding(String key)
      Checks whether there is a binding for the given key.
      Parameters:
      key - the key
      Returns:
      true if there is a binding for the given key, false otherwise
    • removeBinding

      public void removeBinding(String key)
      Removes the binding for the given key.
      Parameters:
      key - the key