weka.gui.beans
Class DataSetEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byweka.gui.beans.DataSetEvent
All Implemented Interfaces:
java.io.Serializable

public class DataSetEvent
extends java.util.EventObject

Event encapsulating a data set

Version:
$Revision: 1.2 $
Author:
Mark Hall
See Also:
EventObject, Serialized Form

Constructor Summary
DataSetEvent(java.lang.Object source, Instances dataSet)
           
 
Method Summary
 Instances getDataSet()
          Return the instances of the data set
 boolean isStructureOnly()
          Returns true if the encapsulated instances contain just header information
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSetEvent

public DataSetEvent(java.lang.Object source,
                    Instances dataSet)
Method Detail

getDataSet

public Instances getDataSet()
Return the instances of the data set

Returns:
an Instances value

isStructureOnly

public boolean isStructureOnly()
Returns true if the encapsulated instances contain just header information

Returns:
true if only header information is available in this DataSetEvent