All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.gui.LogPanel

java.lang.Object
    |
    +----java.awt.Component
            |
            +----java.awt.Container
                    |
                    +----javax.swing.JComponent
                            |
                            +----javax.swing.JPanel
                                    |
                                    +----weka.gui.LogPanel

public class LogPanel
extends javax.swing.JPanel
implements Logger, TaskLogger
This panel allows log and status messages to be posted. Log messages appear in a scrollable text area, and status messages appear as one-line transient messages.

Version:
$Revision: 1.10 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Constructor Index

 o LogPanel()
Creates the log panel
 o LogPanel(WekaTaskMonitor)
Creates the log panel

Method Index

 o logMessage(String)
Sends the supplied message to the log area.
 o main(String[])
Tests out the log panel from the command line.
 o statusMessage(String)
Sends the supplied message to the status line.
 o taskFinished()
Record a task ending
 o taskStarted()
Record the starting of a new task

Constructor Detail

 o LogPanel
public LogPanel()
          Creates the log panel
 o LogPanel
public LogPanel(WekaTaskMonitor tm)
          Creates the log panel

Method Detail

 o taskStarted
public void taskStarted()
          Record the starting of a new task
 o taskFinished
public void taskFinished()
          Record a task ending
 o logMessage
public void logMessage(java.lang.String message)
          Sends the supplied message to the log area. The current timestamp will be prepended.
Parameters:
message - a value of type 'String'
 o statusMessage
public void statusMessage(java.lang.String message)
          Sends the supplied message to the status line.
Parameters:
message - the status message
 o main
public static void main(java.lang.String args[])
          Tests out the log panel from the command line.
Parameters:
args - ignored

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home