Interface InteractionDescriptor
- All Known Implementing Classes:
PropertyInteractionDescriptor
,PropertyListenerDescriptor
public interface InteractionDescriptor
An Interaction Descriptor represents an inter-component dependency relationship. For instance, if component property
A.x is bound to B.y, The interaction descriptor would represent the dependence on B.y ( the source of the
relationship ), where the target (A.x) is defined through the reference to the Adapter.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
_setSymbolicSourcePath
(String path) void
connect()
Tells the interaction to connect any listenersvoid
Tells the interaction to disconnect any listenersReturns the adapter that owns this interactionReturns the component that this interaction depends on (recieves its updates from)void
initialize
(Class type, Object oldInstance, Object newInstance, Encoder out) boolean
void
void
setSerializeSymbolically
(boolean b) void
Sets the source component for this interaction
-
Method Details
-
disconnect
void disconnect()Tells the interaction to disconnect any listeners -
connect
void connect()Tells the interaction to connect any listeners -
isSerializeSymbolically
boolean isSerializeSymbolically() -
setSerializeSymbolically
void setSerializeSymbolically(boolean b) -
_setSymbolicSourcePath
-
_getSymbolicSourcePath
String _getSymbolicSourcePath() -
getSource
Component getSource()Returns the component that this interaction depends on (recieves its updates from) -
setSource
Sets the source component for this interaction -
getAdapter
Adapter getAdapter()Returns the adapter that owns this interaction -
setAdapter
-
initialize
-