Mp3dings 
20100427

de.mospace.swing.event
Class DataChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by de.mospace.swing.event.DataChangeEvent
All Implemented Interfaces:
Serializable

public class DataChangeEvent
extends EventObject

An event that informs listeners of one or more changes in the data of the source.

Version:
$Revision: 12 $ ($Date: 2007-07-27 11:48:53 +0200 (Fr, 27 Jul 2007) $)
Author:
Moritz Ringler
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataChangeEvent(Object source)
          Creates a new DataChangeEvent for a single change in the data of the source.
DataChangeEvent(Object source, int changeCount)
          Creates a new DataChangeEvent for one or more changes in the data of the source.
 
Method Summary
 int getChangeCount()
          Returns the change count for this DataChangeEvent.
 
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

DataChangeEvent

public DataChangeEvent(Object source)
Creates a new DataChangeEvent for a single change in the data of the source.

Parameters:
source - the event source

DataChangeEvent

public DataChangeEvent(Object source,
                       int changeCount)
Creates a new DataChangeEvent for one or more changes in the data of the source.

Parameters:
source - the event source
changeCount - the number of changes in the data
Method Detail

getChangeCount

public int getChangeCount()
Returns the change count for this DataChangeEvent.

Returns:
the number of changes in the data

Mp3dings 
20100427