org.beanfabrics.event
Class ElementsAddedEvent
java.lang.Object
java.util.EventObject
org.beanfabrics.event.ListEvent
org.beanfabrics.event.ElementsAddedEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ElementsAddedEvent
- extends ListEvent
An event which indicates that some elements have been added to 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.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 |
ElementsAddedEvent
public ElementsAddedEvent(IListPM<?> source,
int beginIndex,
int length)
- Constructs a
ElementsAddedEvent
.
- Parameters:
source
- the source of this eventbeginIndex
- the smallest index of the elements involvedlength
- the number of the involved elements
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
paramString
public java.lang.String paramString()
-
- Overrides:
paramString
in class ListEvent