Interface InteractionController

All Known Implementing Classes:
DefaultInteractionController

public interface InteractionController
Controls binding interaction and other adapters for a hierarchy of components.
  • Method Details

    • getPropertyAdapter

      PropertyAdapter getPropertyAdapter(Component c, String propName)
      Get the property adapter for the given property. If no adapter (a.k.a. binding) is installed, null is returned.
    • getInteractionDescriptorsWithSource

      InteractionDescriptor[] getInteractionDescriptorsWithSource(Component source)
      Get all of the interactions that have the given component as a source (dependency)
    • getInteractionDescriptorsWithTarget

      InteractionDescriptor[] getInteractionDescriptorsWithTarget(Component target)
      Get all of the interactions that target the given component.
    • getAllAdaptersForTarget

      Adapter[] getAllAdaptersForTarget(Component target)
      Get all adapters (property + general) for the target component.
    • removeAllAdaptersForTarget

      List<Adapter> removeAllAdaptersForTarget(Component target)
    • setPropertyAdapter

      void setPropertyAdapter(Component c, String propName, PropertyAdapter pa)
    • removePropertyAdapter

      void removePropertyAdapter(Component c, String propName)
    • addAdapter

      void addAdapter(Component c, Adapter a)
    • removeAdapter

      void removeAdapter(Component c, Adapter a)