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)
LogPanel()
- Creates the log panel
LogPanel(WekaTaskMonitor)
- Creates the log panel
logMessage(String)
- Sends the supplied message to the log area.
main(String[])
- Tests out the log panel from the command line.
statusMessage(String)
- Sends the supplied message to the status line.
taskFinished()
- Record a task ending
taskStarted()
- Record the starting of a new task
LogPanel
public LogPanel()
Creates the log panel
LogPanel
public LogPanel(WekaTaskMonitor tm)
Creates the log panel
taskStarted
public void taskStarted()
Record the starting of a new task
taskFinished
public void taskFinished()
Record a task ending
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'
statusMessage
public void statusMessage(java.lang.String message)
Sends the supplied message to the status line.
- Parameters:
message
- the status message
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