| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a number of properties as a dictionary.
| Field Summary | |
private PropertyChangeSupport | myChangeSupport |
private Dictionary | myImplementation |
private VetoableChangeSupport | myVetoableSupport |
| Constructor Summary | |
DictionaryProperties(Dictionary impl)Creates new dictionary of properties on the base of existing. | |
DictionaryProperties()Creates empty dictionary of properties. | |
| Method Summary | |
void | addPropertyChangeListener(PropertyChangeListener listener)Add a PropertyChangeListener to the listener list. |
void | addVetoableChangeListener(VetoableChangeListener listener)Add a VetoableListener to the listener list. |
void | clear()Puts null value to all of the properties. |
protected void | firePropertyChange(String key, String oldValue, String value) |
protected void | firePropertyChange(String key, String oldValue) |
protected void | fireVetoableChange(String key, String oldValue, String value) |
protected void | fireVetoableChange(String key, String value) |
private PropertyChangeSupport | getChangeSupport() |
protected Dictionary | getImplementation() |
String | getProperty(String key, String defaultValue)Gets a property with the specified key and default. |
private VetoableChangeSupport | getVetoableSupport() |
Enumeration | propertyNames()Returns an enumeration of all the keys in this property list, including the keys in the default property list. |
void | putProperty(String key, String value)Puts a property value to the specified key. |
void | removePropertyChangeListener(PropertyChangeListener listener)Remove a PropertyChangeListener from the listener list. |
void | removeVetoableChangeListener(VetoableChangeListener listener)Remove a VetoableChangeListener from the listener list. |
| Field Detail |
private PropertyChangeSupport myChangeSupport
private Dictionary myImplementation
private VetoableChangeSupport myVetoableSupport
| Constructor Detail |
public DictionaryProperties(Dictionary impl)
public DictionaryProperties()
| Method Detail |
public void addPropertyChangeListener(PropertyChangeListener listener)
public void addVetoableChangeListener(VetoableChangeListener listener)
public void clear()
protected void firePropertyChange(String key, String oldValue, String value)
protected void firePropertyChange(String key, String oldValue)
protected void fireVetoableChange(String key, String oldValue, String value)
throws java.beans.PropertyVetoException
protected void fireVetoableChange(String key, String value)
throws java.beans.PropertyVetoException
private PropertyChangeSupport getChangeSupport()
protected Dictionary getImplementation()
public String getProperty(String key, String defaultValue)
private VetoableChangeSupport getVetoableSupport()
public Enumeration propertyNames()
public void putProperty(String key, String value)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removeVetoableChangeListener(VetoableChangeListener listener)
| Association Links |
to Class java.beans.VetoableChangeSupport
to Class java.util.Dictionary
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||