public class PropertyListenerDescriptor extends PropertyInteractionDescriptor implements java.beans.PropertyChangeListener, Adapter.ValueHolder
Constructor and Description |
---|
PropertyListenerDescriptor() |
PropertyListenerDescriptor(java.awt.Component source,
PropertyAdapter adapter,
java.lang.String sourceProp,
QualifiedValue initValue) |
Modifier and Type | Method and Description |
---|---|
InteractionListener |
getInteractionListener()
Returns the interaction listener (typically our adapter)
|
java.lang.String |
getPath()
Returns the path to the referenced property.
|
QualifiedValue |
getQValue()
Returns the last known value from the source.
|
void |
initialize(java.lang.Class type,
java.lang.Object oldInstance,
java.lang.Object newInstance,
java.beans.Encoder out)
Serializes this PLD
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
setInteractionListener(InteractionListener listener)
Sets the interaction listener (typically our adapter)
|
void |
setQValue(QualifiedValue qv)
Sets the value.
|
void |
setValue(java.lang.Object object)
Deprecated.
Kept for serialization
|
java.lang.String |
toString() |
_getSymbolicSourcePath, _setSymbolicSourcePath, connect, disconnect, getAdapter, getListenable, getListener, getQuality, getSource, getSourceProperty, getSourceQualityProperty, isSerializeSymbolically, setAdapter, setConnected, setListener, setSerializeSymbolically, setSource, setSourceProperty
public PropertyListenerDescriptor()
public PropertyListenerDescriptor(java.awt.Component source, PropertyAdapter adapter, java.lang.String sourceProp, QualifiedValue initValue)
public java.lang.String getPath()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
public QualifiedValue getQValue()
getQValue
in interface Adapter.ValueHolder
public void setQValue(QualifiedValue qv)
setQValue
in interface Adapter.ValueHolder
@Deprecated public void setValue(java.lang.Object object)
public java.lang.String toString()
toString
in class PropertyInteractionDescriptor
public InteractionListener getInteractionListener()
public void setInteractionListener(InteractionListener listener)
listener
- public void initialize(java.lang.Class type, java.lang.Object oldInstance, java.lang.Object newInstance, java.beans.Encoder out)
initialize
in interface InteractionDescriptor
initialize
in class PropertyInteractionDescriptor