jdbreport.model.event
Class ReportListEvent

java.lang.Object
  extended by java.util.EventObject
      extended by jdbreport.model.event.ReportListEvent
All Implemented Interfaces:
Serializable

public class ReportListEvent
extends EventObject

Version:
1.1 03/09/08
Author:
Andrey Kholmanskih
See Also:
Serialized Form

Field Summary
protected  int fromIndex
          The index of the report from where it was moved or removed
protected  int toIndex
          The index of the report to where it was moved or added from
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ReportListEvent(ReportBook source, int from, int to)
           
 
Method Summary
 int getFromIndex()
          Returns the fromIndex.
 int getToIndex()
          Returns the toIndex.
 
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
 

Field Detail

fromIndex

protected int fromIndex
The index of the report from where it was moved or removed


toIndex

protected int toIndex
The index of the report to where it was moved or added from

Constructor Detail

ReportListEvent

public ReportListEvent(ReportBook source,
                       int from,
                       int to)
Method Detail

getFromIndex

public int getFromIndex()
Returns the fromIndex. Valid for removed or moved events


getToIndex

public int getToIndex()
Returns the toIndex. Valid for add and moved events