org.jaffa.components.lookup
Class MultiSelectLookupEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.jaffa.components.lookup.MultiSelectLookupEvent
All Implemented Interfaces:
Serializable

public class MultiSelectLookupEvent
extends EventObject

A MultiSelect Lookup component generates this event, when row(s) are selected, and passes it to the registered Listener.

Author:
GautamJ
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MultiSelectLookupEvent(Object source, Object[] selectedRows)
          Creates a new instance of LookupMultiSelectEvent
 
Method Summary
 Object[] getSelectedRows()
          Getter for property selectedRows.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiSelectLookupEvent

public MultiSelectLookupEvent(Object source,
                              Object[] selectedRows)
Creates a new instance of LookupMultiSelectEvent

Parameters:
source - The object on which the Event initially occurred, typically the Lookup component.
selectedRows - The row(s) selected on the Lookup. The registered Listener will have to cast it to the appropriate DTO and extract the required values.
Method Detail

getSelectedRows

public Object[] getSelectedRows()
Getter for property selectedRows.

Returns:
Value of property selectedRows.


Copyright © 2002-2004 JAFFA Project.