All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.gui.SetInstancesPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.JPanel
|
+----weka.gui.SetInstancesPanel
- public class SetInstancesPanel
- extends JPanel
A panel that displays an instance summary for a set of instances and
lets the user open a set of instances from either a file or URL.
- Version:
- $Revision: 1.3 $
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
-
SetInstancesPanel()
- Create the panel.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a PropertyChangeListener who will be notified of value changes.
-
getInstances()
- Gets the set of instances currently held by the panel
-
getSummary()
- Gets the instances summary panel associated with
this panel
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a PropertyChangeListener.
-
setInstances(Instances)
- Updates the set of instances that is currently held by the panel
-
setInstancesFromFileQ()
- Queries the user for a file to load instances from, then loads the
instances in a background process.
-
setInstancesFromURLQ()
- Queries the user for a URL to load instances from, then loads the
instances in a background process.
SetInstancesPanel
public SetInstancesPanel()
- Create the panel.
setInstancesFromFileQ
public void setInstancesFromFileQ()
- Queries the user for a file to load instances from, then loads the
instances in a background process. This is done in the IO
thread, and an error message is popped up if the IO thread is busy.
setInstancesFromURLQ
public void setInstancesFromURLQ()
- Queries the user for a URL to load instances from, then loads the
instances in a background process. This is done in the IO
thread, and an error message is popped up if the IO thread is busy.
setInstances
public void setInstances(Instances i)
- Updates the set of instances that is currently held by the panel
- Parameters:
- i - a value of type 'Instances'
getInstances
public Instances getInstances()
- Gets the set of instances currently held by the panel
- Returns:
- a value of type 'Instances'
getSummary
public InstancesSummaryPanel getSummary()
- Gets the instances summary panel associated with
this panel
- Returns:
- the instances summary panel
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Adds a PropertyChangeListener who will be notified of value changes.
- Parameters:
- l - a value of type 'PropertyChangeListener'
- Overrides:
- addPropertyChangeListener in class JComponent
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Removes a PropertyChangeListener.
- Parameters:
- l - a value of type 'PropertyChangeListener'
- Overrides:
- removePropertyChangeListener in class JComponent
All Packages Class Hierarchy This Package Previous Next Index WEKA's home