|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
at.tuwien.ifs.feature.extraction.audio.MainGUI
public class MainGUI
Copyright Vienna University of Technology
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 |
---|
private MainGUI.Status state
private static final long serialVersionUID
private javax.swing.JPanel mainPanel
private javax.swing.JPanel inputPanel
private javax.swing.JRadioButton rdoSelDirectory
private javax.swing.JRadioButton rdoSelFilelist
private javax.swing.JPanel pnlFileOpen
private javax.swing.JCheckBox chkFiletypeWAV
private javax.swing.JCheckBox chkFiletypeAU
private javax.swing.JCheckBox chkFiletypeMP3
private javax.swing.JTextField txtInput
private javax.swing.JPanel pnlFileTypes
private javax.swing.JLabel jLabel
private javax.swing.JPanel pnlFileSave
private javax.swing.JPanel pnlOutput
private javax.swing.JLabel labelBaseName
private javax.swing.JTextField txtBasename
private javax.swing.JTextField txtOutput
private javax.swing.JLabel labelOutputDirectory
private javax.swing.JPanel pnlOptions
private javax.swing.JCheckBox chkRP
private javax.swing.JCheckBox chkRH
private javax.swing.JCheckBox chkSSD
private javax.swing.JLabel labelFeatures
private javax.swing.JLabel labelThreads
private javax.swing.JSpinner spnThreads
private javax.swing.SpinnerNumberModel noThreads
private javax.swing.JProgressBar overallProgress
private javax.swing.JPanel pnlProgress
private javax.swing.JLabel lblOverallProgress
private javax.swing.JLabel lblThreadProgress
private javax.swing.JPanel pnlButtons
private javax.swing.JButton btnGo
private javax.swing.JButton btnCancel
private javax.swing.JCheckBox chkZVec
private javax.swing.JFileChooser fileChooser
private MultipleFileExtractor multipleFileExtractor
private javax.swing.JPanel pnlErrWarn
private javax.swing.JScrollPane scpErrWarn
private javax.swing.JTextArea txtErrWarn
private javax.swing.JLabel labelOutputFormats
private javax.swing.JCheckBox chkVec
private javax.swing.JCheckBox chkArff
private javax.swing.JCheckBox chkZArff
private javax.swing.JCheckBox chkArffVecLabel
private javax.swing.JCheckBox chkOsiris
private javax.swing.JCheckBox chkXml
private javax.swing.JPanel pnlFeatures
Constructor Detail |
---|
public MainGUI()
MainGUI(MultipleFileExtractor extractor)
Method Detail |
---|
public void setStatus(MainGUI.Status state)
private javax.swing.JPanel getMainPanel()
private javax.swing.JPanel getInputPanel()
private javax.swing.JRadioButton getRdoSelDirectory()
private javax.swing.JRadioButton getRdoSelFilelist()
private javax.swing.JPanel getPnlFileSave()
private javax.swing.JPanel getPnlFileOpen()
private javax.swing.JCheckBox getChkFiletypeWAV()
private javax.swing.JCheckBox getChkFiletypeAU()
private javax.swing.JCheckBox getChkFiletypeMP3()
private javax.swing.JTextField getTxtInput()
private javax.swing.JTextField getTxtOutput()
private javax.swing.JPanel getPnlFileTypes()
private javax.swing.JPanel getPnlOutput()
private javax.swing.JTextField getTxtBasename()
private javax.swing.JPanel getPnlOptions()
private javax.swing.JCheckBox getChkRP()
private javax.swing.JCheckBox getChkRH()
private javax.swing.JCheckBox getChkSSD()
private javax.swing.JSpinner getSpnThreads()
private javax.swing.SpinnerNumberModel getNoThreads()
javax.swing.JProgressBar getOverallProgress()
private javax.swing.JPanel getPnlProgress()
private javax.swing.JPanel getPnlButtons()
private javax.swing.JButton getBtnGo()
private javax.swing.JButton getBtnCancel()
private javax.swing.JCheckBox getChkZVec()
private javax.swing.JPanel getPnlErrWarn()
private javax.swing.JScrollPane getScpErrWarn()
private javax.swing.JTextArea getTxtErrWarn()
private javax.swing.JCheckBox getChkVec()
private javax.swing.JCheckBox getChkArff()
private javax.swing.JCheckBox getChkZArff()
private javax.swing.JCheckBox getChkArffVecLabel()
private javax.swing.JCheckBox getChkOsiris()
private javax.swing.JCheckBox getChkXml()
private javax.swing.JPanel getPnlFeatures()
public static void main(java.lang.String[] args)
private void initialize()
public void setFeatureExtractionOptions(FeatureExtractionOptions opt)
public FeatureExtractionOptions getFeatureExtractionOptions()
public javax.swing.JProgressBar createThreadProgressBar()
public void removeThreadProgressBar(javax.swing.JProgressBar progress)
private void doExit()
void setThreadNumber(int threads)
int getThreadNumber()
public void appendLog(java.lang.String message, LogHandler.LogGrade grade)
LogHandler
appendLog
in interface LogHandler
message
- The message to append.grade
- The grade.LogHandler.LogGrade
public void flushAllLogs()
LogHandler
flushAllLogs
in interface LogHandler
LogHandler.flushLog()
public void flushLog()
LogHandler
flushLog
in interface LogHandler
public void setLogGrade(LogHandler.LogGrade grade)
LogHandler
setLogGrade
in interface LogHandler
grade
- The new log grade.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |