weka.gui.beans

## Class DataSetEvent

- java.lang.Object
- - java.util.EventObject
  - - weka.gui.beans.DataSetEvent

- All Implemented Interfaces:
    java.io.Serializable

      public class DataSetEvent
      extends java.util.EventObject

  Event encapsulating a data set
  Version:
    $Revision: 8034 $
  Author:
    Mark Hall
  See Also:
    `EventObject`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataSetEvent(java.lang.Object source, Instances dataSet)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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