public class ExportResultView extends MessageView implements java.awt.event.ActionListener, javax.swing.event.RowSorterListener
This class provides a window for showing the result of file exports.
javax.swing.JDialog.AccessibleJDialogjava.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityTypejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Type| Modifier and Type | Field and Description |
|---|---|
private javax.swing.JCheckBox |
cbxCrdGrpFailed |
private javax.swing.JCheckBox |
cbxMetaMsg |
private javax.swing.JCheckBox |
cbxOffNotFound |
private javax.swing.JCheckBox |
cbxOther |
private javax.swing.JCheckBox |
cbxRestSkipped |
private javax.swing.JCheckBox |
cbxShortMsg |
private javax.swing.JCheckBox |
cbxSysexMsg |
private static int |
COL_WIDTH_CHANNEL |
private static int |
COL_WIDTH_DETAIL |
private static int |
COL_WIDTH_MSG |
private static int |
COL_WIDTH_TICK |
private static int |
COL_WIDTH_TRACK |
private java.awt.Container |
content |
private FilterIcon |
filterIcon |
private static long |
serialVersionUID |
private MidicaTable |
table |
private static int |
TABLE_HEIGHT |
private java.awt.Dimension |
tableDim |
closeButton, CMD_CLOSE, controlleraccessibleContext, rootPane, rootPaneCheckingEnabledBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT| Constructor and Description |
|---|
ExportResultView(javax.swing.JDialog owner)
Creates a new export result window.
|
ExportResultView(javax.swing.JFrame owner)
Creates a new export result window.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Filters the warnings in the table.
|
void |
addKeyBindings()
Initializes the content of all the tabs inside the info view.
|
private java.awt.Container |
createFilterWidgets()
Creates the area with the table filter widgets.
|
private void |
filterWarnings()
Filters the warnings in the table.
|
void |
init(ExportResult result)
Initializes the export result window, writes the export result and shows the window.
|
void |
sorterChanged(javax.swing.event.RowSorterEvent e) |
close, createCloseButtonaddImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, 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, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, 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, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, 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, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprivate static final long serialVersionUID
private static final int COL_WIDTH_TRACK
private static final int COL_WIDTH_TICK
private static final int COL_WIDTH_CHANNEL
private static final int COL_WIDTH_MSG
private static final int COL_WIDTH_DETAIL
private static final int TABLE_HEIGHT
private java.awt.Container content
private java.awt.Dimension tableDim
private MidicaTable table
private javax.swing.JCheckBox cbxShortMsg
private javax.swing.JCheckBox cbxMetaMsg
private javax.swing.JCheckBox cbxSysexMsg
private javax.swing.JCheckBox cbxRestSkipped
private javax.swing.JCheckBox cbxOffNotFound
private javax.swing.JCheckBox cbxCrdGrpFailed
private javax.swing.JCheckBox cbxOther
private FilterIcon filterIcon
public ExportResultView(javax.swing.JDialog owner)
Creates a new export result window. The window is not visible by default and must be initialized and set visible via init().
owner - The parent window (Player).public ExportResultView(javax.swing.JFrame owner)
Creates a new export result window. The window is not visible by default and must be initialized and set visible via init().
owner - The parent window (main window).public void init(ExportResult result)
Initializes the export result window, writes the export result and shows the window.
result - Export result.private java.awt.Container createFilterWidgets()
Creates the area with the table filter widgets.
public void actionPerformed(java.awt.event.ActionEvent e)
Filters the warnings in the table. Called if a checkbox has been changed.
actionPerformed in interface java.awt.event.ActionListenerpublic void sorterChanged(javax.swing.event.RowSorterEvent e)
sorterChanged in interface javax.swing.event.RowSorterListenerprivate void filterWarnings()
Filters the warnings in the table.
public void addKeyBindings()
Initializes the content of all the tabs inside the info view.
addKeyBindings in class MessageView