public abstract class AbstractPropertyChangeNotifier extends Object implements PropertyChangeNotifier
Modifier | Constructor and Description |
---|---|
protected |
AbstractPropertyChangeNotifier() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
fireIndexedPropertyChange(String propertyName,
int index,
boolean oldValue,
boolean newValue) |
void |
fireIndexedPropertyChange(String propertyName,
int index,
int oldValue,
int newValue) |
void |
fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue) |
void |
firePropertyChange(PropertyChangeEvent evt) |
void |
firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue) |
void |
firePropertyChange(String propertyName,
int oldValue,
int newValue) |
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue) |
protected PropertyChangeSupport |
getPropertyChangeSupport() |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyChangeNotifier
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyChangeNotifier
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyChangeNotifier
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyChangeNotifier
public void firePropertyChange(String propertyName, Object oldValue, Object newValue)
public void firePropertyChange(String propertyName, int oldValue, int newValue)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
public void firePropertyChange(PropertyChangeEvent evt)
public void fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue)
public void fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue)
public void fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue)
protected PropertyChangeSupport getPropertyChangeSupport()
Copyright © 2019. All Rights Reserved.