monitors
Class CommCenter

java.lang.Object
  extended by java.lang.Thread
      extended by monitors.CommCenter
All Implemented Interfaces:
java.lang.Runnable

public class CommCenter
extends java.lang.Thread

Version:
Jan 2, 2004
Author:
Martin Lukac

Nested Class Summary
(package private)  class CommCenter.InputReader
           
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static CoLsole colsole
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CommCenter()
           
CommCenter(javax.swing.JDesktopPane desktop)
           
 
Method Summary
static void closeLogs()
           
static void createConsole()
           
static javax.swing.JDesktopPane getDesktop()
           
static boolean isDebug()
           
static boolean isEnabled()
           
static void openLogs()
           
static void setDebug(boolean debug)
           
static void setDesktop(javax.swing.JDesktopPane desktop)
           
static void setEnabled(boolean enabled)
           
static void showBioData(java.lang.Object m)
           
static void showComm(java.lang.Object o)
           
static void showDebug(java.lang.Object m)
           
static void showError(java.lang.Object m)
           
static void toggleDebug()
           
static void toggleLogging()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

colsole

public static CoLsole colsole
Constructor Detail

CommCenter

public CommCenter(javax.swing.JDesktopPane desktop)

CommCenter

public CommCenter()
Method Detail

getDesktop

public static javax.swing.JDesktopPane getDesktop()
Returns:
Returns the desktop.

setDesktop

public static void setDesktop(javax.swing.JDesktopPane desktop)
Parameters:
desktop - The desktop to set.

createConsole

public static void createConsole()

openLogs

public static void openLogs()

closeLogs

public static void closeLogs()

isEnabled

public static boolean isEnabled()
Returns:
Returns the enabled.

setEnabled

public static void setEnabled(boolean enabled)
Parameters:
enabled - The enabled to set.

showComm

public static void showComm(java.lang.Object o)
Parameters:
o - - generates an event to the GUI but can process the object

showError

public static void showError(java.lang.Object m)
Parameters:
m - - formated type of popups

showDebug

public static void showDebug(java.lang.Object m)
Parameters:
m - - formated type of popups

showBioData

public static void showBioData(java.lang.Object m)
Parameters:
m - - formated type of popups

toggleLogging

public static void toggleLogging()

toggleDebug

public static void toggleDebug()

isDebug

public static boolean isDebug()
Returns:
Returns the debug.

setDebug

public static void setDebug(boolean debug)
Parameters:
debug - The debug to set.