|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICOSObjectListener
A listener for changes in a COSObject.
| Method Summary | |
|---|---|
void |
changed(COSObject object,
Object slot,
Object oldValue,
Object newValue)
A COSObject has changed its internal state. |
| Method Detail |
|---|
void changed(COSObject object,
Object slot,
Object oldValue,
Object newValue)
COSObject
this may be a change in containment (slot == COSObject.SLOT_CONTAINER).
For containers itself, this may be a change in the collection of
contained objects. For dictionaries, slot will be the COSName of
the changed entry, for arrays slot will be the Integer key. A
stream may indicate a change in its byte content using (slot ==
COSStream.SLOT_BYTES).
A slot value of null may indicate a "changed all" event.
For example you can expect for a clear operation on an
array only a single "changed all" event.
object - The object that has changedslot - The slot in the object that has changed (or null for
unspecified change).oldValue - The old value of the slot if known.newValue - The new value of the slot if known.
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||