public interface PropertyContext
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFERENCES_ATTRIBUTE
The attribute name under which the preferences can be accessed.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getKeys()
Return an immutable set of keys.
|
List<String> |
getValue(String key)
Return for a specified key an immutable list of its values or null if the value does not exist.
|
boolean |
isReadOnly()
Return true if the preferences are globally read only.
|
void |
update(PropertyChange[] changes)
Update the preferences.
|
static final String PREFERENCES_ATTRIBUTE
List<String> getValue(String key) throws IllegalArgumentException
key - the lookup keyIllegalArgumentException - if the key is nullboolean isReadOnly()
throws IllegalStateException
IllegalStateException - if this is called during render phasevoid update(PropertyChange[] changes) throws IllegalStateException
changes - the list of changesIllegalStateException - if the preferences is not writableIllegalArgumentException - if any change is not validCopyright © 2003-2020 GateIn. All Rights Reserved.