org.beanfabrics.event
Class ElementsRemovedEvent
java.lang.Object
java.util.EventObject
org.beanfabrics.event.ListEvent
org.beanfabrics.event.ElementsRemovedEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ElementsRemovedEvent
- extends ListEvent
An event which indicates that some elements have been removed from an
IListPM
.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
int |
getBeginIndex()
Returns the smalles index of the elements involved in this event. |
int |
getLength()
Returns the number of elements involved in this event. |
java.util.Collection<? extends PresentationModel> |
getRemoved()
Returns the collection of elements that have been removed. |
java.lang.String |
paramString()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ElementsRemovedEvent
public ElementsRemovedEvent(IListPM<?> source,
int beginIndex,
int length,
java.util.Collection<? extends PresentationModel> removed)
- Constructs a
ElementsRemovedEvent
.
- Parameters:
source
- the source of this eventbeginIndex
- the smallest index of the elements involvedlength
- the number of the involved elementsremoved
- the collection of elements that have been removed
getBeginIndex
public int getBeginIndex()
- Returns the smalles index of the elements involved in this event.
- Returns:
- the smalles index of the elements involved in this event
getLength
public int getLength()
- Returns the number of elements involved in this event.
- Returns:
- the number of elements involved in this event
getRemoved
public java.util.Collection<? extends PresentationModel> getRemoved()
- Returns the collection of elements that have been removed.
- Returns:
- the collection of elements that have been removed
paramString
public java.lang.String paramString()
-
- Overrides:
paramString
in class ListEvent