net.directj.jlogger
Class JTableLogManager

java.lang.Object
  |
  +--net.directj.jlogger.LogManager
        |
        +--net.directj.jlogger.JTableLogManager

public class JTableLogManager
extends LogManager

This is a log manager that stored logging information onto a JPanel, using a tabular component. To get this panel call the method getPanel.

Version:
0.1.0
Author:
CARTAPANIS Alexandre <earendil@jprolog.net>

Field Summary
private static JTableOutput out
          The GUI table output.
 
Fields inherited from class net.directj.jlogger.LogManager
 
Constructor Summary
JTableLogManager(int _level)
          Creates a new JTableLogManager, with the specified logging level.
 
Method Summary
 java.util.Vector getData()
          Returns the Vector of Vectors that contains the table's data values.
 javax.swing.JPanel getPanel()
          Returns the JPanel where data are stored.
 
Methods inherited from class net.directj.jlogger.LogManager
equals, hashCode, log
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private static JTableOutput out
The GUI table output.

Constructor Detail

JTableLogManager

public JTableLogManager(int _level)
Creates a new JTableLogManager, with the specified logging level.

Parameters:
_level - The logging level.
Method Detail

getPanel

public javax.swing.JPanel getPanel()
Returns the JPanel where data are stored.

Returns:
javax.swing.JPanel - The GUI text element.

getData

public java.util.Vector getData()
Returns the Vector of Vectors that contains the table's data values. The vectors contained in the outer vector are each a single row of values.

Returns:
Vector - The vector of vectors containing the tables data values.


Copyright © 2002 CARTAPANIS Alexandre
This page was last updated on May 10 2003