com.sas.collection
Class OrderedListChangedInfo

com.sas.collection.OrderedListChangedInfo
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class OrderedListChangedInfo

OrderedListChangedInfo provides information about how an ordered list collection has changed. There are no specific listeners for this event; use the add/removeContentsChangedListener on OrderedListCollection objects to listen for ContentsChangedEvents and if the event is an instance of CollectionChangedInfo, you can optimize the handler for specific types of changes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.collection.CollectionChangedInfo
end, howChanged, start, whatChanged
 
Constructor Summary
OrderedListChangedInfo(java.lang.Object source, com.sas.collection.OrderedListCollection.Node node, HowChanged howChanged, int start)
          Construct a OrderedListChangedInfo object which conveys that a range of items has changed.
OrderedListChangedInfo(java.lang.Object source, com.sas.collection.OrderedListCollection.Node node, HowChanged howChanged, int start, int end)
          Construct a OrderedListChangedInfo object which conveys that a single item has changed.
OrderedListChangedInfo(java.lang.Object source, com.sas.collection.OrderedListCollection.Node node, java.lang.Object item, HowChanged howChanged, int start)
          Construct a OrderedListChangedInfo object which conveys that a single item has changed.
OrderedListChangedInfo(java.lang.Object source, com.sas.collection.OrderedListCollection.Node node, java.lang.Object item, HowChanged howChanged, int start, int end)
          Construct a OrderedListChangedInfo object which conveys that a range of items has changed.
 
Method Summary
 
Methods inherited from class com.sas.collection.CollectionChangedInfo
clone
 
Methods inherited from class com.sas.collection.ContentsChangedEvent
clone
 

Constructor Detail

OrderedListChangedInfo

public OrderedListChangedInfo(java.lang.Object source,
                              com.sas.collection.OrderedListCollection.Node node,
                              java.lang.Object item,
                              HowChanged howChanged,
                              int start,
                              int end)
Construct a OrderedListChangedInfo object which conveys that a range of items has changed.

Parameters:
source - the object whose contents have changed.
node - the first OrderedListCollection.Node node which is affected by the change: either added/removed/replaced
item - The item that changed (added, removed, replaced)
howChanged - indicates the type of change
start - the index of the first item added/removed from this collection
end - the last item added/removed from this collection is at index (end - 1)

OrderedListChangedInfo

public OrderedListChangedInfo(java.lang.Object source,
                              com.sas.collection.OrderedListCollection.Node node,
                              java.lang.Object item,
                              HowChanged howChanged,
                              int start)
Construct a OrderedListChangedInfo object which conveys that a single item has changed.

Parameters:
source - the object whose contents have changed.
node - the first OrderedListCollection.Node node which is affected by the change: either added/removed/replaced
item - The item that changed (added, removed, replaced)
howChanged - indicates the type of change
start - the index of the item added/removed from this collection

OrderedListChangedInfo

public OrderedListChangedInfo(java.lang.Object source,
                              com.sas.collection.OrderedListCollection.Node node,
                              HowChanged howChanged,
                              int start,
                              int end)
Construct a OrderedListChangedInfo object which conveys that a single item has changed.

Parameters:
source - the object whose contents have changed.
node - the first OrderedListCollection.Node node which is affected by the change: either added/removed/replaced
howChanged - indicates the type of change
start - the index of the first item added/removed from this collection
end - the last item added/removed from this collection is at index (end - 1)

OrderedListChangedInfo

public OrderedListChangedInfo(java.lang.Object source,
                              com.sas.collection.OrderedListCollection.Node node,
                              HowChanged howChanged,
                              int start)
Construct a OrderedListChangedInfo object which conveys that a range of items has changed.

Parameters:
source - the object whose contents have changed.
node - the first OrderedListCollection.Node node which is affected by the change: either added/removed/replaced
howChanged - indicates the type of change
start - the index of the first item added/removed from this collection



Copyright © 2009 SAS Institute Inc. All Rights Reserved.