Interface InteractionController
- All Known Implementing Classes:
DefaultInteractionController
public interface InteractionController
Controls binding interaction and other adapters for a hierarchy of components.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdapter
(Component c, Adapter a) Adapter[]
getAllAdaptersForTarget
(Component target) Get all adapters (property + general) for the target component.Get all of the interactions that have the given component as a source (dependency)Get all of the interactions that target the given component.getPropertyAdapter
(Component c, String propName) Get the property adapter for the given property.void
removeAdapter
(Component c, Adapter a) removeAllAdaptersForTarget
(Component target) void
removePropertyAdapter
(Component c, String propName) void
setPropertyAdapter
(Component c, String propName, PropertyAdapter pa)
-
Method Details
-
getPropertyAdapter
Get the property adapter for the given property. If no adapter (a.k.a. binding) is installed, null is returned. -
getInteractionDescriptorsWithSource
Get all of the interactions that have the given component as a source (dependency) -
getInteractionDescriptorsWithTarget
Get all of the interactions that target the given component. -
getAllAdaptersForTarget
Get all adapters (property + general) for the target component. -
removeAllAdaptersForTarget
-
setPropertyAdapter
-
removePropertyAdapter
-
addAdapter
-
removeAdapter
-