|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.collection.DictionaryChangedInfo
public class DictionaryChangedInfo
DictionaryChangedInfo is a ContentsChangedEvent event object
that is created/sent when a Dictionary has changed.
There are no specific listeners for this event;
use the add/removeContentsChangedListener on DictionaryInterface
objects.
CollectionChangedInfo,
ContentsChangedEvent,
HowChanged,
Serialized Form| Field Summary | |
|---|---|
HowChanged |
howChanged
How the items have changed. |
java.lang.Object |
key
The key corresponding to the item that was changed (added, removed, replaced) |
java.lang.Object |
newItem
The item that was changed (added, removed, replaced) |
java.lang.Object |
origItem
The item that was changed (added, removed, replaced) |
| Constructor Summary | |
|---|---|
DictionaryChangedInfo(java.lang.Object source)
Construct a DictionaryChangedInfo object which conveys that a
some other change has been made to the dictionary. |
|
DictionaryChangedInfo(java.lang.Object source,
HowChanged howChanged)
Construct a DictionaryChangedInfo object which conveys that a
one or more items have been added/removed/replaced from the Dictionary. |
|
DictionaryChangedInfo(java.lang.Object source,
HowChanged howChanged,
java.lang.Object item)
Construct a DictionaryChangedInfo object which conveys that a
single item has changed (either added, removed, or replaced) |
|
DictionaryChangedInfo(java.lang.Object source,
HowChanged howChanged,
java.lang.Object origItem,
java.lang.Object newItem)
Construct a DictionaryChangedInfo object which conveys that a
single item has changed (either added, removed, or replaced) |
|
DictionaryChangedInfo(java.lang.Object source,
HowChanged howChanged,
java.lang.Object key,
java.lang.Object origItem,
java.lang.Object newItem)
Construct a DictionaryChangedInfo object which conveys that a
single item at a specific key has changed (either added or removed). |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone(com.sas.collection.ContentsChangedSource newSource)
Clone the DictionaryChangedInfo and sets the source to be the newSource |
| Methods inherited from class com.sas.collection.ContentsChangedEvent |
|---|
clone |
| Field Detail |
|---|
public java.lang.Object origItem
public java.lang.Object newItem
public java.lang.Object key
public final HowChanged howChanged
HowChanged.REMOVED,
HowChanged.ADDED,
HowChanged.REPLACED,
HowChanged.REORDERED
or
HowChanged.OTHER
| Constructor Detail |
|---|
public DictionaryChangedInfo(java.lang.Object source)
DictionaryChangedInfo object which conveys that a
some other change has been made to the dictionary.
source - the object whose contents have changed.
public DictionaryChangedInfo(java.lang.Object source,
HowChanged howChanged)
DictionaryChangedInfo object which conveys that a
one or more items have been added/removed/replaced from the Dictionary.
source - the object whose contents have changed.howChanged - indicates if the items were added or removed or replaced.
public DictionaryChangedInfo(java.lang.Object source,
HowChanged howChanged,
java.lang.Object origItem,
java.lang.Object newItem)
DictionaryChangedInfo object which conveys that a
single item has changed (either added, removed, or replaced)
source - the object whose contents have changed.howChanged - indicates if the item was added or removedorigItem - the original item removed/replaced from the dictionary.
If null, the newItem was added.newItem - the new item added to the dictionary. If null, the
origItem was removed.
public DictionaryChangedInfo(java.lang.Object source,
HowChanged howChanged,
java.lang.Object item)
DictionaryChangedInfo object which conveys that a
single item has changed (either added, removed, or replaced)
source - the object whose contents have changed.howChanged - indicates if the item was added or removeditem - the item added to or removed from to the dictionary
public DictionaryChangedInfo(java.lang.Object source,
HowChanged howChanged,
java.lang.Object key,
java.lang.Object origItem,
java.lang.Object newItem)
DictionaryChangedInfo object which conveys that a
single item at a specific key has changed (either added or removed).
source - the object whose contents have changed.howChanged - indicates if the item was added or removedkey - the key of the item that was added, removed, or replaced.origItem - the original item removed/replaced from the dictionary.
If null, the newItem was added.newItem - the new item added to the dictionary. If null, the
origItem was removed.| Method Detail |
|---|
public java.lang.Object clone(com.sas.collection.ContentsChangedSource newSource)
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - if the DictionaryChangedInfo cannot be cloned.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||