Log4JMonitor v1.1
A B C D F G I L M O P R S T V W

A

AboutDialog - class org.alltimeflashdreamer.log4jmonitor.AboutDialog.
Title: AboutDialog
Description: Shows a simple JDialog containing some information about Log4JMonitor.
AboutDialog(Log4JMonitor) - Constructor for class org.alltimeflashdreamer.log4jmonitor.AboutDialog
Constructs a simple dialog.
actionPerformed(ActionEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
The actionPerformed method handles the action events that come up by user actions.
addEvent(LoggingEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Add a LoggingEvent to the list.

B

BORDERTHICKNESS - Variable in class org.alltimeflashdreamer.log4jmonitor.LogPanel
THICKNESS of the border

C

clear() - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Clear the list of all events.
clearButton - Variable in class org.alltimeflashdreamer.log4jmonitor.ControlPanel
the button which allows to clear the contents of the LoggingEvents table
COL_NAMES - Static variable in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
names of the columns in the table
ControlPanel - class org.alltimeflashdreamer.log4jmonitor.ControlPanel.
Title: ControlPanel
Description: This class initializes the controls for filtering, pausing, exiting, etc.
This code has been copied from the authors below.
ControlPanel(MyTableModel) - Constructor for class org.alltimeflashdreamer.log4jmonitor.ControlPanel
Creates a new ControlPanel instance.
cp - Variable in class org.alltimeflashdreamer.log4jmonitor.LogPanel
Add control panel

D

DetailPanel - class org.alltimeflashdreamer.log4jmonitor.DetailPanel.
Title: DetailPanel
Description: This class represents a panel for showing a stack trace.
This code has been copied from the authors below.
DetailPanel(JTable, MyTableModel) - Constructor for class org.alltimeflashdreamer.log4jmonitor.DetailPanel
Creates a new DetailPanel instance.
details - Variable in class org.alltimeflashdreamer.log4jmonitor.LogPanel
Create the details

F

finalize() - Method in class org.alltimeflashdreamer.log4jmonitor.LoggingReceiver
Override of Object's finalize method to shut down the Log4J Logger.

G

getColumnClass(int) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Returns the class of the specified column.
getColumnCount() - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Returns the (current) amount of columns, each containing one attribute of the LoggingEvents.
getColumnName(int) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Returns the name of the specified column.
Note: No exception handling is implemented for invalid column indexes.
getLoggingEvent(int) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Get the throwable information at a specified row in the filtered events.
Note: No exception handling is implemented for invalid row indexes.
getRowCount() - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Returns the (current) amount of rows, each containing on LoggingEvent.
getValueAt(int, int) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Returns the object within the table having the given coordinates.
Note: No exception handling is implemented for invalid row indexes; invalid column indexes are treated as the index of the error message column.

I

isPaused() - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
 

L

Log4JMonitor - class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor.
Title: Log4JMonitor
Description: This is the application window and the main class of the Log4JMonitor application.
It serves as a SocketServer for the Log4J remote logging service and is therefore able to show Log4J messages from somewhere in the network that sends such messages to the localhost.
The received messages are listed in the application's JTable and rendered according to their relevance and type.
Log4JMonitor() - Constructor for class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
The constructor initializes the Log4J and some often used GUI components and calls the buildGUI method, catching possibly upcoming exceptions.
Finally, a Thread is started which accepts SocketConnections (on port 27272 by default, if not overwritten by setting the JVM's "log4jmonitor.port" property), sent by a SocketAppender (as defined in the related log4j.properties file).
LoggingReceiver - class org.alltimeflashdreamer.log4jmonitor.LoggingReceiver.
Title: LoggingReceiver
Description: Represents a daemon thread that processes connections from a org.apache.log4j.net.SocketAppender.
LoggingReceiver(MyTableModel, int) - Constructor for class org.alltimeflashdreamer.log4jmonitor.LoggingReceiver
Creates a new LoggingReceiver instance.
LogPanel - class org.alltimeflashdreamer.log4jmonitor.LogPanel.
Title: LogPanel
Description: This is the main GUI panel which contains the components that show the received logging messages to the user.
This code has been copied from the authors below.
LogPanel() - Constructor for class org.alltimeflashdreamer.log4jmonitor.LogPanel
Constructor initializes the list of column widths and builds up the GUI.

M

main(String[]) - Static method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
The main method starts the control monitor.
model - Variable in class org.alltimeflashdreamer.log4jmonitor.LogPanel
create the all important model
MyTableModel - class org.alltimeflashdreamer.log4jmonitor.MyTableModel.
Title: MyTableModel
Description: Represents a list of LoggingEvent objects that are sorted on logging time.
MyTableModel() - Constructor for class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Creates a new MyTableModel instance.

O

org.alltimeflashdreamer.log4jmonitor - package org.alltimeflashdreamer.log4jmonitor
 

P

PORT_PROP_NAME - Static variable in class org.alltimeflashdreamer.log4jmonitor.LogPanel
name of property for port name

R

run() - Method in class org.alltimeflashdreamer.log4jmonitor.LoggingReceiver
Listens for client connections.

S

scrollPane - Variable in class org.alltimeflashdreamer.log4jmonitor.LogPanel
Contains the table
setColumnWidths() - Method in class org.alltimeflashdreamer.log4jmonitor.LogPanel
Calculates the table column width of the different columns.
setLevelFilter(Level) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Sets the level to filter events on.
setLoggerFilter(String) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Set the filter for the logger field.
setMessageFilter(String) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Set the filter for the message field.
setThreadFilter(String) - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Set the filter for the thread field.

T

table - Variable in class org.alltimeflashdreamer.log4jmonitor.LogPanel
Create the table
TITLE - Static variable in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
the title of the application, shown in the title bar of the main window
toggle() - Method in class org.alltimeflashdreamer.log4jmonitor.MyTableModel
Toggle collecting state (switch from "collecting" to "pausing" and vice versa).
toggleButton - Variable in class org.alltimeflashdreamer.log4jmonitor.ControlPanel
the button which allows to pause and resume the receiving of LoggingEvents

V

valueChanged(ListSelectionEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.DetailPanel
Updates the content of the details pane with the message of the "latest" selected event in the table.
VERSION - Static variable in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
the version number of the application

W

windowActivated(WindowEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
(inactive)
windowClosed(WindowEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
(inactive)
windowClosing(WindowEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
Exits the virtual machine silently.
windowDeactivated(WindowEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
(inactive)
windowDeiconified(WindowEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
(inactive)
windowIconified(WindowEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
(inactive)
windowOpened(WindowEvent) - Method in class org.alltimeflashdreamer.log4jmonitor.Log4JMonitor
Sets the table's column widths accordingly.

A B C D F G I L M O P R S T V W
Copyright (c) 1999/2000 by apache.org, 2001/02 by Sven Mosimann, Adrian Seiler and Florian Steinsiepe