public class SimpleBoundPropertyAdapter extends AbstractPropertyAdapter implements SearchablePropertyAdapter, java.beans.PropertyChangeListener
AbstractPropertyAdapter.EdtUpdateValue
PropertyAdapter.PAType
Adapter.ValueHolder
appContext, isTargetPropertyDynamic, overlayOptOut, target, targetPropertyName, value, valueClass
Constructor and Description |
---|
SimpleBoundPropertyAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
connect(VisionClientContext appContext)
Calls connect() on all interaction descriptors
|
void |
disconnect()
Calls disconnect() on all interaction descriptors
|
BindingConfiguration |
getBindingConfiguration() |
PropertyInteractionDescriptor |
getInteraction()
Returns the interaction descriptor that points towards the property we are bound to
|
InteractionDescriptor[] |
getInteractions()
Retrieves an array of the interactions that this adapter depends on.
|
PropertyAdapter.PAType |
getReferenceType() |
boolean |
isBidirectional() |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Listens to the Interaction Descriptor (source property changes)
|
void |
setBidirectional(boolean bidirectional) |
void |
setInteraction(PropertyInteractionDescriptor descriptor)
Sets the interaction descriptor for this binding.
|
protected void |
updateTarget()
Sets the target property to the value.
|
canUpdate, getQValue, getTarget, getTargetDesc, getTargetFullPath, getTargetPropertyName, getValueClass, handleError, handleNullToPrimitive, initLogger, isDataUsed, isDataUsed, isOverlayOptOut, isTargetPropertyDynamic, isValid, setOverlayOptOut, setQValue, setSetterMethodName, setTarget, setTargetPropertyDynamic, setTargetPropertyName, setValue, setValueClass, shutdown, startup, toString, updateQuality, updateValue, useQuality
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTargetPropertyName, setTargetPropertyName
public void connect(VisionClientContext appContext)
AbstractPropertyAdapter
connect
in interface Adapter
connect
in class AbstractPropertyAdapter
public void disconnect()
AbstractPropertyAdapter
disconnect
in interface Adapter
disconnect
in class AbstractPropertyAdapter
public InteractionDescriptor[] getInteractions()
Adapter
getInteractions
in interface Adapter
public BindingConfiguration getBindingConfiguration()
getBindingConfiguration
in interface SearchablePropertyAdapter
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
protected void updateTarget()
AbstractPropertyAdapter
updateTarget
in class AbstractPropertyAdapter
public PropertyInteractionDescriptor getInteraction()
public void setInteraction(PropertyInteractionDescriptor descriptor)
public boolean isBidirectional()
public void setBidirectional(boolean bidirectional)
public PropertyAdapter.PAType getReferenceType()
getReferenceType
in interface PropertyAdapter