at.tuwien.ifs.feature.extraction.audio
Class MainGUI

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by at.tuwien.ifs.feature.extraction.audio.MainGUI
All Implemented Interfaces:
LogHandler, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class MainGUI
extends javax.swing.JFrame
implements LogHandler

Copyright Vienna University of Technology

Version:
$Id: MainGUI.java 217 2011-05-07 11:04:55Z mayer $
Author:
Thomas Lidy, Jakob Frank, Rudolf Mayer
See Also:
Serialized Form

Nested Class Summary
static class MainGUI.Status
           
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Nested classes/interfaces inherited from interface at.tuwien.ifs.feature.extraction.audio.util.LogHandler
LogHandler.LogGrade
 
Field Summary
private  javax.swing.JButton btnCancel
           
private  javax.swing.JButton btnGo
           
private  javax.swing.JCheckBox chkArff
           
private  javax.swing.JCheckBox chkArffVecLabel
           
private  javax.swing.JCheckBox chkFiletypeAU
           
private  javax.swing.JCheckBox chkFiletypeMP3
           
private  javax.swing.JCheckBox chkFiletypeWAV
           
private  javax.swing.JCheckBox chkOsiris
           
private  javax.swing.JCheckBox chkRH
           
private  javax.swing.JCheckBox chkRP
           
private  javax.swing.JCheckBox chkSSD
           
private  javax.swing.JCheckBox chkVec
           
private  javax.swing.JCheckBox chkXml
           
private  javax.swing.JCheckBox chkZArff
           
private  javax.swing.JCheckBox chkZVec
           
private  javax.swing.JFileChooser fileChooser
           
private  javax.swing.JPanel inputPanel
           
private  javax.swing.JLabel jLabel
           
private  javax.swing.JLabel labelBaseName
           
private  javax.swing.JLabel labelFeatures
           
private  javax.swing.JLabel labelOutputDirectory
           
private  javax.swing.JLabel labelOutputFormats
           
private  javax.swing.JLabel labelThreads
           
private  javax.swing.JLabel lblOverallProgress
           
private  javax.swing.JLabel lblThreadProgress
           
private  javax.swing.JPanel mainPanel
           
private  MultipleFileExtractor multipleFileExtractor
           
private  javax.swing.SpinnerNumberModel noThreads
           
private  javax.swing.JProgressBar overallProgress
           
private  javax.swing.JPanel pnlButtons
           
private  javax.swing.JPanel pnlErrWarn
           
private  javax.swing.JPanel pnlFeatures
           
private  javax.swing.JPanel pnlFileOpen
           
private  javax.swing.JPanel pnlFileSave
           
private  javax.swing.JPanel pnlFileTypes
           
private  javax.swing.JPanel pnlOptions
           
private  javax.swing.JPanel pnlOutput
           
private  javax.swing.JPanel pnlProgress
           
private  javax.swing.JRadioButton rdoSelDirectory
           
private  javax.swing.JRadioButton rdoSelFilelist
           
private  javax.swing.JScrollPane scpErrWarn
           
private static long serialVersionUID
           
private  javax.swing.JSpinner spnThreads
           
private  MainGUI.Status state
           
private  javax.swing.JTextField txtBasename
           
private  javax.swing.JTextArea txtErrWarn
           
private  javax.swing.JTextField txtInput
           
private  javax.swing.JTextField txtOutput
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
MainGUI()
           
MainGUI(MultipleFileExtractor extractor)
           
 
Method Summary
 void appendLog(java.lang.String message, LogHandler.LogGrade grade)
          Append a log-line.
 javax.swing.JProgressBar createThreadProgressBar()
           
private  void doExit()
           
 void flushAllLogs()
          Flush all log channels.
 void flushLog()
          Flush the log.
private  javax.swing.JButton getBtnCancel()
          This method initializes btnCancel
private  javax.swing.JButton getBtnGo()
          This method initializes btnGo
private  javax.swing.JCheckBox getChkArff()
          This method initializes chkArff
private  javax.swing.JCheckBox getChkArffVecLabel()
          This method initializes chkArffVecLabel
private  javax.swing.JCheckBox getChkFiletypeAU()
          This method initializes chkFiletypeAU
private  javax.swing.JCheckBox getChkFiletypeMP3()
          This method initializes chkFiletypeMP3
private  javax.swing.JCheckBox getChkFiletypeWAV()
          This method initializes chkFiletypeWAV
private  javax.swing.JCheckBox getChkOsiris()
          This method initializes chkOsiris
private  javax.swing.JCheckBox getChkRH()
          This method initializes chkRH
private  javax.swing.JCheckBox getChkRP()
          This method initializes chkRP
private  javax.swing.JCheckBox getChkSSD()
          This method initializes chkSSD
private  javax.swing.JCheckBox getChkVec()
          This method initializes chkVec
private  javax.swing.JCheckBox getChkXml()
          This method initializes chkXml
private  javax.swing.JCheckBox getChkZArff()
          This method initializes chkZArff
private  javax.swing.JCheckBox getChkZVec()
          This method initializes chkZVec
 FeatureExtractionOptions getFeatureExtractionOptions()
           
private  javax.swing.JPanel getInputPanel()
          This method initializes inputPanel
private  javax.swing.JPanel getMainPanel()
          This method initializes mainPanel
private  javax.swing.SpinnerNumberModel getNoThreads()
           
(package private)  javax.swing.JProgressBar getOverallProgress()
          This method initializes overallProgress
private  javax.swing.JPanel getPnlButtons()
          This method initializes pnlButtons
private  javax.swing.JPanel getPnlErrWarn()
          This method initializes pnlErrWarn
private  javax.swing.JPanel getPnlFeatures()
          This method initializes pnlFeatures
private  javax.swing.JPanel getPnlFileOpen()
          This method initializes pnlFileOpen
private  javax.swing.JPanel getPnlFileSave()
          This method initializes pnlFileSave
private  javax.swing.JPanel getPnlFileTypes()
          This method initializes pnlFileTypes
private  javax.swing.JPanel getPnlOptions()
          This method initializes pnlOptions
private  javax.swing.JPanel getPnlOutput()
          This method initializes pnlOutput
private  javax.swing.JPanel getPnlProgress()
          This method initializes pnlProgress
private  javax.swing.JRadioButton getRdoSelDirectory()
          This method initializes rdoSelDirectory
private  javax.swing.JRadioButton getRdoSelFilelist()
          This method initializes rdoSelFilelist
private  javax.swing.JScrollPane getScpErrWarn()
          This method initializes scpErrWarn
private  javax.swing.JSpinner getSpnThreads()
          This method initializes spnThreads
(package private)  int getThreadNumber()
           
private  javax.swing.JTextField getTxtBasename()
          This method initializes txtBasename
private  javax.swing.JTextArea getTxtErrWarn()
          This method initializes txtErrWarn
private  javax.swing.JTextField getTxtInput()
          This method initializes txtInput
private  javax.swing.JTextField getTxtOutput()
          This method initializes txtOutput
private  void initialize()
           
static void main(java.lang.String[] args)
           
 void removeThreadProgressBar(javax.swing.JProgressBar progress)
           
 void setFeatureExtractionOptions(FeatureExtractionOptions opt)
           
 void setLogGrade(LogHandler.LogGrade grade)
          Set the Log-Grade.
 void setStatus(MainGUI.Status state)
           
(package private)  void setThreadNumber(int threads)
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

state

private MainGUI.Status state

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

mainPanel

private javax.swing.JPanel mainPanel

inputPanel

private javax.swing.JPanel inputPanel

rdoSelDirectory

private javax.swing.JRadioButton rdoSelDirectory

rdoSelFilelist

private javax.swing.JRadioButton rdoSelFilelist

pnlFileOpen

private javax.swing.JPanel pnlFileOpen

chkFiletypeWAV

private javax.swing.JCheckBox chkFiletypeWAV

chkFiletypeAU

private javax.swing.JCheckBox chkFiletypeAU

chkFiletypeMP3

private javax.swing.JCheckBox chkFiletypeMP3

txtInput

private javax.swing.JTextField txtInput

pnlFileTypes

private javax.swing.JPanel pnlFileTypes

jLabel

private javax.swing.JLabel jLabel

pnlFileSave

private javax.swing.JPanel pnlFileSave

pnlOutput

private javax.swing.JPanel pnlOutput

labelBaseName

private javax.swing.JLabel labelBaseName

txtBasename

private javax.swing.JTextField txtBasename

txtOutput

private javax.swing.JTextField txtOutput

labelOutputDirectory

private javax.swing.JLabel labelOutputDirectory

pnlOptions

private javax.swing.JPanel pnlOptions

chkRP

private javax.swing.JCheckBox chkRP

chkRH

private javax.swing.JCheckBox chkRH

chkSSD

private javax.swing.JCheckBox chkSSD

labelFeatures

private javax.swing.JLabel labelFeatures

labelThreads

private javax.swing.JLabel labelThreads

spnThreads

private javax.swing.JSpinner spnThreads

noThreads

private javax.swing.SpinnerNumberModel noThreads

overallProgress

private javax.swing.JProgressBar overallProgress

pnlProgress

private javax.swing.JPanel pnlProgress

lblOverallProgress

private javax.swing.JLabel lblOverallProgress

lblThreadProgress

private javax.swing.JLabel lblThreadProgress

pnlButtons

private javax.swing.JPanel pnlButtons

btnGo

private javax.swing.JButton btnGo

btnCancel

private javax.swing.JButton btnCancel

chkZVec

private javax.swing.JCheckBox chkZVec

fileChooser

private javax.swing.JFileChooser fileChooser

multipleFileExtractor

private MultipleFileExtractor multipleFileExtractor

pnlErrWarn

private javax.swing.JPanel pnlErrWarn

scpErrWarn

private javax.swing.JScrollPane scpErrWarn

txtErrWarn

private javax.swing.JTextArea txtErrWarn

labelOutputFormats

private javax.swing.JLabel labelOutputFormats

chkVec

private javax.swing.JCheckBox chkVec

chkArff

private javax.swing.JCheckBox chkArff

chkZArff

private javax.swing.JCheckBox chkZArff

chkArffVecLabel

private javax.swing.JCheckBox chkArffVecLabel

chkOsiris

private javax.swing.JCheckBox chkOsiris

chkXml

private javax.swing.JCheckBox chkXml

pnlFeatures

private javax.swing.JPanel pnlFeatures
Constructor Detail

MainGUI

public MainGUI()

MainGUI

MainGUI(MultipleFileExtractor extractor)
Method Detail

setStatus

public void setStatus(MainGUI.Status state)

getMainPanel

private javax.swing.JPanel getMainPanel()
This method initializes mainPanel

Returns:
javax.swing.JPanel

getInputPanel

private javax.swing.JPanel getInputPanel()
This method initializes inputPanel

Returns:
javax.swing.JPanel

getRdoSelDirectory

private javax.swing.JRadioButton getRdoSelDirectory()
This method initializes rdoSelDirectory

Returns:
javax.swing.JRadioButton

getRdoSelFilelist

private javax.swing.JRadioButton getRdoSelFilelist()
This method initializes rdoSelFilelist

Returns:
javax.swing.JRadioButton

getPnlFileSave

private javax.swing.JPanel getPnlFileSave()
This method initializes pnlFileSave

Returns:
javax.swing.JPanel

getPnlFileOpen

private javax.swing.JPanel getPnlFileOpen()
This method initializes pnlFileOpen

Returns:
javax.swing.JPanel

getChkFiletypeWAV

private javax.swing.JCheckBox getChkFiletypeWAV()
This method initializes chkFiletypeWAV

Returns:
javax.swing.JCheckBox

getChkFiletypeAU

private javax.swing.JCheckBox getChkFiletypeAU()
This method initializes chkFiletypeAU

Returns:
javax.swing.JCheckBox

getChkFiletypeMP3

private javax.swing.JCheckBox getChkFiletypeMP3()
This method initializes chkFiletypeMP3

Returns:
javax.swing.JCheckBox

getTxtInput

private javax.swing.JTextField getTxtInput()
This method initializes txtInput

Returns:
javax.swing.JTextField

getTxtOutput

private javax.swing.JTextField getTxtOutput()
This method initializes txtOutput

Returns:
javax.swing.JTextField

getPnlFileTypes

private javax.swing.JPanel getPnlFileTypes()
This method initializes pnlFileTypes

Returns:
javax.swing.JPanel

getPnlOutput

private javax.swing.JPanel getPnlOutput()
This method initializes pnlOutput

Returns:
javax.swing.JPanel

getTxtBasename

private javax.swing.JTextField getTxtBasename()
This method initializes txtBasename

Returns:
javax.swing.JTextField

getPnlOptions

private javax.swing.JPanel getPnlOptions()
This method initializes pnlOptions

Returns:
javax.swing.JPanel

getChkRP

private javax.swing.JCheckBox getChkRP()
This method initializes chkRP

Returns:
javax.swing.JCheckBox

getChkRH

private javax.swing.JCheckBox getChkRH()
This method initializes chkRH

Returns:
javax.swing.JCheckBox

getChkSSD

private javax.swing.JCheckBox getChkSSD()
This method initializes chkSSD

Returns:
javax.swing.JCheckBox

getSpnThreads

private javax.swing.JSpinner getSpnThreads()
This method initializes spnThreads

Returns:
javax.swing.JSpinner

getNoThreads

private javax.swing.SpinnerNumberModel getNoThreads()

getOverallProgress

javax.swing.JProgressBar getOverallProgress()
This method initializes overallProgress

Returns:
javax.swing.JProgressBar

getPnlProgress

private javax.swing.JPanel getPnlProgress()
This method initializes pnlProgress

Returns:
javax.swing.JPanel

getPnlButtons

private javax.swing.JPanel getPnlButtons()
This method initializes pnlButtons

Returns:
javax.swing.JPanel

getBtnGo

private javax.swing.JButton getBtnGo()
This method initializes btnGo

Returns:
javax.swing.JButton

getBtnCancel

private javax.swing.JButton getBtnCancel()
This method initializes btnCancel

Returns:
javax.swing.JButton

getChkZVec

private javax.swing.JCheckBox getChkZVec()
This method initializes chkZVec

Returns:
javax.swing.JCheckBox

getPnlErrWarn

private javax.swing.JPanel getPnlErrWarn()
This method initializes pnlErrWarn

Returns:
javax.swing.JPanel

getScpErrWarn

private javax.swing.JScrollPane getScpErrWarn()
This method initializes scpErrWarn

Returns:
javax.swing.JScrollPane

getTxtErrWarn

private javax.swing.JTextArea getTxtErrWarn()
This method initializes txtErrWarn

Returns:
javax.swing.JTextArea

getChkVec

private javax.swing.JCheckBox getChkVec()
This method initializes chkVec

Returns:
javax.swing.JCheckBox

getChkArff

private javax.swing.JCheckBox getChkArff()
This method initializes chkArff

Returns:
javax.swing.JCheckBox

getChkZArff

private javax.swing.JCheckBox getChkZArff()
This method initializes chkZArff

Returns:
javax.swing.JCheckBox

getChkArffVecLabel

private javax.swing.JCheckBox getChkArffVecLabel()
This method initializes chkArffVecLabel

Returns:
javax.swing.JCheckBox

getChkOsiris

private javax.swing.JCheckBox getChkOsiris()
This method initializes chkOsiris

Returns:
javax.swing.JCheckBox

getChkXml

private javax.swing.JCheckBox getChkXml()
This method initializes chkXml

Returns:
javax.swing.JCheckBox

getPnlFeatures

private javax.swing.JPanel getPnlFeatures()
This method initializes pnlFeatures

Returns:
javax.swing.JPanel

main

public static void main(java.lang.String[] args)

initialize

private void initialize()

setFeatureExtractionOptions

public void setFeatureExtractionOptions(FeatureExtractionOptions opt)

getFeatureExtractionOptions

public FeatureExtractionOptions getFeatureExtractionOptions()

createThreadProgressBar

public javax.swing.JProgressBar createThreadProgressBar()

removeThreadProgressBar

public void removeThreadProgressBar(javax.swing.JProgressBar progress)

doExit

private void doExit()

setThreadNumber

void setThreadNumber(int threads)

getThreadNumber

int getThreadNumber()

appendLog

public void appendLog(java.lang.String message,
                      LogHandler.LogGrade grade)
Description copied from interface: LogHandler
Append a log-line.

Specified by:
appendLog in interface LogHandler
Parameters:
message - The message to append.
grade - The grade.
See Also:
LogHandler.LogGrade

flushAllLogs

public void flushAllLogs()
Description copied from interface: LogHandler
Flush all log channels.

Specified by:
flushAllLogs in interface LogHandler
See Also:
LogHandler.flushLog()

flushLog

public void flushLog()
Description copied from interface: LogHandler
Flush the log. Do really print it.

Specified by:
flushLog in interface LogHandler

setLogGrade

public void setLogGrade(LogHandler.LogGrade grade)
Description copied from interface: LogHandler
Set the Log-Grade. Only messages that are more or equal important than the given grade will be shown.

Specified by:
setLogGrade in interface LogHandler
Parameters:
grade - The new log grade.