All Implemented Interfaces:
PropertyBindingConstants, Binding

public class PropertyBinding extends AbstractBinding implements PropertyBindingConstants
  • Constructor Details

  • Method Details

    • isBidirectional

      public boolean isBidirectional()
      Specified by:
      isBidirectional in interface Binding
      Returns:
      true if this binding wants to be bidirectional. Note that if any transforms are present, then the binding will not operate in a bidirectional way.
    • shouldCoalesce

      public boolean shouldCoalesce()
      Specified by:
      shouldCoalesce in interface Binding
      Returns:
      true if this binding wants to be bidirectional. Note that if any transforms are present, then the binding will not operate in a bidirectional way.
    • resolveReferences

      public Collection<PropertyReference> resolveReferences()
      Specified by:
      resolveReferences in interface Binding
    • onStartup

      protected void onStartup()
      Specified by:
      onStartup in class AbstractLifecycle
    • onTargetPropertyChanged

      public void onTargetPropertyChanged(QualifiedValue newTargetValue)
      Overrides:
      onTargetPropertyChanged in class AbstractBinding
    • onShutdown

      protected void onShutdown()
      Specified by:
      onShutdown in class AbstractLifecycle
    • onUserRefresh

      public void onUserRefresh()
      Description copied from interface: Binding
      Called to prompt the binding to produce a value as soon as possible. This _not_ the normal way that bindings work. Bindings are expected to produce a value un-prompted after startup, and then again whenever they feel is appropriate. This is there to allow the user to call component.refreshBinding(property) and prompt a non-polling binding to run.
      Specified by:
      onUserRefresh in interface Binding