DESY ACOP Beans Home
com.cosylab.util
Class PropertyChangeHelper
java.lang.Object
com.cosylab.util.PropertyChangeHelper
public class PropertyChangeHelper
- extends java.lang.Object
A support class that acts as a java.beans.PropertyChangeSupport
with the ability
to be extended by classes that need PropertyChange events and an internal
map-like store for property values which automatically fires PropertyChangeEvent
s
- Author:
- Miha Kadunc (miha.kadunc@cosylab.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
PropertyChangeHelper
public PropertyChangeHelper()
PropertyChangeHelper
public PropertyChangeHelper(java.lang.Object source)
setClientProperty
public void setClientProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
getClientProperty
public java.lang.Object getClientProperty(java.lang.String propertyName)
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
firePropertyChange
public void firePropertyChange(java.beans.PropertyChangeEvent evt)
firePropertyChange
public void firePropertyChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
firePropertyChange
public void firePropertyChange(java.lang.String propertyName,
int oldValue,
int newValue)
firePropertyChange
public void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
getPropertyChangeListeners
public java.beans.PropertyChangeListener[] getPropertyChangeListeners()
getPropertyChangeListeners
public java.beans.PropertyChangeListener[] getPropertyChangeListeners(java.lang.String propertyName)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
hasListeners
public boolean hasListeners(java.lang.String propertyName)
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010. All Rights Reserved.