org.beanfabrics.event
Class ElementsSelectedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.beanfabrics.event.ListEvent
          extended by org.beanfabrics.event.ElementsSelectedEvent
All Implemented Interfaces:
java.io.Serializable

public class ElementsSelectedEvent
extends ListEvent

An event which indicates that some elements have been selected in an IListPM.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ElementsSelectedEvent(IListPM<?> source, int beginIndex, int length)
          Constructs a ElementsSelectedEvent.
 
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 org.beanfabrics.event.ListEvent
toString
 
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
 

Constructor Detail

ElementsSelectedEvent

public ElementsSelectedEvent(IListPM<?> source,
                             int beginIndex,
                             int length)
Constructs a ElementsSelectedEvent.

Parameters:
source - the source of this event
beginIndex - the smallest index of the elements involved
length - the number of the involved elements
Method Detail

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