sos.reports
Class ReportSelectionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--sos.reports.ReportSelectionEvent
All Implemented Interfaces:
java.io.Serializable

public class ReportSelectionEvent
extends java.util.EventObject

A change made to a report's selection model.

Since:
1.0
See Also:
ReportSelectionModel

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ReportSelectionEvent(java.lang.Object source, java.util.Set elementsChanged, boolean isAdjusting)
          Creates an instance of ReportSelectionEvent with the specified source, dirty elements, and more-to-come flag.
 
Method Summary
 java.util.Set getElementsChanged()
          Returns the set of report elements whose selection state may have changed as a result of this event.
 boolean getValueIsAdjusting()
          Returns true if this event is one of many events because the selection model is undergoing a series of changes.
 java.lang.String toString()
          Returns a string that captures this event's properties.
 
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

ReportSelectionEvent

public ReportSelectionEvent(java.lang.Object source,
                            java.util.Set elementsChanged,
                            boolean isAdjusting)
Creates an instance of ReportSelectionEvent with the specified source, dirty elements, and more-to-come flag.

Parameters:
source - the selection model raising this event
elementsChanged - the set of report elements whose selection state may have changed
isAdjusting - true if this event is one of many events because the selection model is undergoing a series of changes
Method Detail

getElementsChanged

public java.util.Set getElementsChanged()
Returns the set of report elements whose selection state may have changed as a result of this event.

Returns:
the elements that may have changed

getValueIsAdjusting

public boolean getValueIsAdjusting()
Returns true if this event is one of many events because the selection model is undergoing a series of changes.

Returns:
true if the selection is undergoing a series of changes

toString

public java.lang.String toString()
Returns a string that captures this event's properties.

Overrides:
toString in class java.util.EventObject
Returns:
a string representation of this event


Copyright 2003, 2004 Side of Software (SOS). All rights reserved.