| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Presents filtered property with read-only access. Name of this property is derived from the base property by means of filter. For example, we have some list of base properties and it is neccessary to get result list which contains properties with names which start with some char sequence. In order to filter base list it is neccessary to specify filter object with executeInverse method which returns properties which names start with specified char sequence. This sequence is removed from these names.
| Constructor Summary | |
FilteredNamePropertiesRO(IPropertiesRO base, InvertibleFunction filter)Creates new filterd property with specified filter and base property. | |
| Method Summary | |
void | addPropertyChangeListener(PropertyChangeListener listener)Add a PropertyChangeListener to the listener list. |
protected void | firePropertyChange(String key, String oldValue, String value) |
protected void | firePropertyChange(String key, String oldValue) |
protected IPropertiesRO | getBase() |
protected InvertibleFunction | getFilter() |
String | getProperty(String key, String defaultValue)Gets a property with the specified key and default. |
Enumeration | propertyNames()Returns an enumeration of all the keys in this property list, including the keys in the default property list. |
void | removePropertyChangeListener(PropertyChangeListener listener)Remove a PropertyChangeListener from the listener list. |
| Constructor Detail |
public FilteredNamePropertiesRO(IPropertiesRO base, InvertibleFunction filter)
| Method Detail |
public void addPropertyChangeListener(PropertyChangeListener listener)
protected void firePropertyChange(String key, String oldValue, String value)
protected void firePropertyChange(String key, String oldValue)
protected IPropertiesRO getBase()
protected InvertibleFunction getFilter()
public String getProperty(String key, String defaultValue)
public Enumeration propertyNames()
public void removePropertyChangeListener(PropertyChangeListener listener)
| Association Links |
to Class java.beans.PropertyChangeListener
to Class com.togethersoft.openapi.util.function.InvertibleFunction
to Class com.togethersoft.openapi.util.properties.IPropertiesRO
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||