public class SimpleBoundPropertyAdapter extends AbstractPropertyAdapter implements SearchablePropertyAdapter, java.beans.PropertyChangeListener
AbstractPropertyAdapter.EdtUpdateValuePropertyAdapter.PATypeAdapter.ValueHolderappContext, isTargetPropertyDynamic, log, 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.
|
void |
startup()
Notifies the adapter that it is becoming active, and should start any polling/threaded activities.
|
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, isValueClassPrimitive, setOverlayOptOut, setQValue, setSetterMethodName, setTarget, setTargetPropertyDynamic, setTargetPropertyName, setValue, setValueClass, shutdown, toString, updateQuality, updateValue, useQualityclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTargetPropertyName, setTargetPropertyNamepublic void connect(VisionClientContext appContext)
AbstractPropertyAdapterconnect in interface Adapterconnect in class AbstractPropertyAdapterpublic void disconnect()
AbstractPropertyAdapterdisconnect in interface Adapterdisconnect in class AbstractPropertyAdapterpublic void startup()
Adapterstartup in interface Adapterstartup in class AbstractPropertyAdapterpublic InteractionDescriptor[] getInteractions()
AdaptergetInteractions in interface Adapterpublic BindingConfiguration getBindingConfiguration()
getBindingConfiguration in interface SearchablePropertyAdapterpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerprotected void updateTarget()
AbstractPropertyAdapterupdateTarget in class AbstractPropertyAdapterpublic PropertyInteractionDescriptor getInteraction()
public void setInteraction(PropertyInteractionDescriptor descriptor)
public boolean isBidirectional()
public void setBidirectional(boolean bidirectional)
public PropertyAdapter.PAType getReferenceType()
getReferenceType in interface PropertyAdapter