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 JPanel
implements Logger
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.3 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Constructor Index

 o LogPanel()
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.

Constructors

 o LogPanel
 public LogPanel()
Creates the log panel

Methods

 o logMessage
 public void logMessage(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(String message)
Sends the supplied message to the status line.

Parameters:
message - the status message
 o main
 public static void main(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