Class InstanceViewer

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, InstanceListener

public class InstanceViewer extends JPanel implements InstanceListener
This is a very simple instance viewer - just displays the dataset as text output as it would be written to a file. A more complex viewer might be more spreadsheet-like
Version:
$Revision: 8034 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • InstanceViewer

      public InstanceViewer()
  • Method Details

    • inputFormat

      public void inputFormat(Instances instanceInfo)
    • input

      public void input(Instance instance) throws Exception
      Throws:
      Exception
    • batchFinished

      public void batchFinished()
    • setClearEachDataset

      public void setClearEachDataset(boolean clear)
    • getClearEachDataset

      public boolean getClearEachDataset()
    • setDebug

      public void setDebug(boolean debug)
    • getDebug

      public boolean getDebug()
    • instanceProduced

      public void instanceProduced(InstanceEvent e)
      Specified by:
      instanceProduced in interface InstanceListener