net.logAnalyzer
Class LogAnalyzerGUI

java.lang.Object
  extended bynet.logAnalyzer.LogAnalyzerGUI

public final class LogAnalyzerGUI
extends java.lang.Object

This class is the GUI launcher. It contains the LALogHandler and LAReport(s) references displayed by the Log Analyzer main window and shared by all the classes of the GUI.

Version:
0.1
Author:
Karim REFEYTON

Method Summary
static void closeGUI(LAFrame frame)
          Closes the specified frame and terminate the programs.
static void createAndShowGUI()
          Creates the first frame.
static LALogHandler getHandler()
          Returns the Log handler displayed.
static LAReport[] getReports()
          Returns the reports displayed.
static void launchGUI(LALogHandler logHandler, LAReport[] logReports)
          Launches a new GUI for the specified handler and reports.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHandler

public static LALogHandler getHandler()
Returns the Log handler displayed. The default value is an EmptyLogHandler.

Returns:
Current log handler.

getReports

public static LAReport[] getReports()
Returns the reports displayed. The default value is an empty LAReport array.

Returns:
Reports array.

closeGUI

public static void closeGUI(LAFrame frame)
Closes the specified frame and terminate the programs.

Parameters:
frame - Frame to close.

createAndShowGUI

public static void createAndShowGUI()
Creates the first frame.


launchGUI

public static void launchGUI(LALogHandler logHandler,
                             LAReport[] logReports)
Launches a new GUI for the specified handler and reports.

Parameters:
logHandler - Log handler to display.
logReports - Reports to display.


Copyright © 2006 null. All Rights Reserved.