* values will not coordinate with one another, so the caller must be sure to only call this
* method once for a given property and share that value properly.
*/
public IntValue valueFor (final String key, int defval) {
IntValue value = new IntValue(get(key, defval));
value.connect(new Slot<Integer>() {
@Override public void onEmit (Integer value) {
set(key, value);
}
});
return value;