725f656197
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5274 542714f4-19e9-0310-aa3c-eee0fc999fb1
47 lines
1.7 KiB
Cheetah
47 lines
1.7 KiB
Cheetah
/**
|
|
* Requests that the specified entry be added to the
|
|
* <code>$field</code> set. The set will not change until the event is
|
|
* actually propagated through the system.
|
|
*/
|
|
public void addTo$upfield ($etype elem)
|
|
{
|
|
requestEntryAdd($capfield, $field, elem);
|
|
}
|
|
|
|
/**
|
|
* Requests that the entry matching the supplied key be removed from
|
|
* the <code>$field</code> set. The set will not change until the
|
|
* event is actually propagated through the system.
|
|
*/
|
|
public void removeFrom$upfield (Comparable<?> key)
|
|
{
|
|
requestEntryRemove($capfield, $field, key);
|
|
}
|
|
|
|
/**
|
|
* Requests that the specified entry be updated in the
|
|
* <code>$field</code> set. The set will not change until the event is
|
|
* actually propagated through the system.
|
|
*/
|
|
public void update$upfield ($etype elem)
|
|
{
|
|
requestEntryUpdate($capfield, $field, elem$transport);
|
|
}
|
|
|
|
/**
|
|
* Requests that the <code>$field</code> field be set to the
|
|
* specified value. Generally one only adds, updates and removes
|
|
* entries of a distributed set, but certain situations call for a
|
|
* complete replacement of the set value. The local value will be
|
|
* updated immediately and an event will be propagated through the
|
|
* system to notify all listeners that the attribute did
|
|
* change. Proxied copies of this object (on clients) will apply the
|
|
* value change when they received the attribute changed notification.
|
|
*/
|
|
public void set$upfield ($type value)
|
|
{
|
|
requestAttributeChange($capfield, value, this.$field);
|
|
$type clone = $clonefield;
|
|
this.$field = clone;
|
|
}
|