public class DecompileConfigView extends FileConfigView
This class provides the configuration window for decompile options.
javax.swing.JDialog.AccessibleJDialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
Modifier and Type | Field and Description |
---|---|
(package private) javax.swing.JTextArea |
areaGlobalsStr |
(package private) MidicaButton |
btnAddGlobalAtTick |
(package private) MidicaButton |
btnAddGlobalTicks |
(package private) MidicaButton |
btnAllTicks |
(package private) javax.swing.JCheckBox |
cbxAddConfig |
(package private) javax.swing.JCheckBox |
cbxAddScore |
(package private) javax.swing.JCheckBox |
cbxAddStatistics |
(package private) javax.swing.JCheckBox |
cbxAddStrategyStat |
(package private) javax.swing.JCheckBox |
cbxAddTickComments |
(package private) javax.swing.JCheckBox |
cbxAllSyllablesOrphaned |
(package private) javax.swing.JComboBox<NamedInteger> |
cbxCtrlChangeMode |
(package private) javax.swing.JCheckBox |
cbxKarOneChannel |
(package private) javax.swing.JComboBox<NamedInteger> |
cbxLengthStrategy |
(package private) javax.swing.JComboBox<NamedInteger> |
cbxMaxTicksOnAt480 |
(package private) javax.swing.JComboBox<NamedInteger> |
cbxMinTicksOnAt480 |
(package private) javax.swing.JComboBox<NamedInteger> |
cbxOrphanedSyllables |
(package private) javax.swing.JCheckBox |
cbxPredefinedChords |
(package private) javax.swing.JComboBox<NamedInteger> |
cbxSyntaxType |
(package private) javax.swing.JCheckBox |
cbxUseBarlines |
(package private) javax.swing.JCheckBox |
cbxUseDottedNote |
(package private) javax.swing.JCheckBox |
cbxUseDottedRest |
(package private) javax.swing.JCheckBox |
cbxUseKaraoke |
(package private) javax.swing.JCheckBox |
cbxUseTriplettedNote |
(package private) javax.swing.JCheckBox |
cbxUseTriplettedRest |
(package private) static java.lang.String |
DOC_ID |
(package private) static java.lang.Integer |
DOC_ID_ADD_GLOBAL_AT_TICK |
(package private) static java.lang.Integer |
DOC_ID_ADD_GLOBAL_EACH |
(package private) static java.lang.Integer |
DOC_ID_ADD_GLOBAL_START |
(package private) static java.lang.Integer |
DOC_ID_ADD_GLOBAL_STOP |
(package private) static java.lang.Integer |
DOC_ID_UPDATE_GLOBAL_ALL |
(package private) javax.swing.JTextField |
fldAddGlobalAtTick |
(package private) javax.swing.JTextField |
fldAddGlobalsEachTick |
(package private) javax.swing.JTextField |
fldAddGlobalsStartTick |
(package private) javax.swing.JTextField |
fldAddGlobalsStopTick |
(package private) javax.swing.JTextField |
fldBarlineTol |
(package private) javax.swing.JTextField |
fldChordNoteOffTolerance |
(package private) javax.swing.JTextField |
fldChordNoteOnTolerance |
(package private) javax.swing.JTextField |
fldChordVelocityTolerance |
(package private) javax.swing.JTextField |
fldDurationRatioTolerance |
(package private) javax.swing.JTextField |
fldElementsPerLine |
(package private) javax.swing.JTextField |
fldLengthTickTolerance |
(package private) javax.swing.JTextField |
fldMaxDurToKeep |
(package private) javax.swing.JTextField |
fldMinDurToKeep |
private static long |
serialVersionUID |
(package private) javax.swing.JTabbedPane |
tabs |
private static int |
TEXT_AREA_HEIGHT |
private static int |
TEXT_FIELD_HEIGHT |
private static int |
TEXT_FIELD_WIDTH |
btnRestore, btnRestoreDefaults, btnSave, controller, icon, keyBindingManager
accessibleContext, rootPane, rootPaneCheckingEnabled
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
DecompileConfigView()
Creates a default window that is not intended to be used as a real window.
|
DecompileConfigView(javax.swing.JDialog owner,
ConfigIcon icon)
Creates the window for the decompile configuration.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSpecificKeyBindings()
Adds file specific key bindings to the info window.
|
private java.awt.Container |
createChordArea(java.lang.String tabKey)
Creates the area for chord settings.
|
private java.awt.Container |
createCtrlChangeArea(java.lang.String tabKey)
Creates the area for control change settings.
|
private java.awt.Container |
createDebugArea(java.lang.String tabKey)
Creates the area for debug settings.
|
private java.awt.Container |
createKaraokeArea(java.lang.String tabKey)
Creates the area for karaoke settings.
|
private java.awt.Container |
createLineArea(java.lang.String tabKey)
Creates the area for line settings (compact or alda).
|
private java.awt.Container |
createNoteLengthArea(java.lang.String tabKey)
Creates the area for note length calculation settings.
|
private java.awt.Container |
createNoteRestArea(java.lang.String tabKey)
Creates the area for notes/rests settings.
|
private java.awt.Container |
createSliceArea(java.lang.String tabKey)
Creates the area for adding additional global commands.
|
protected FileConfigController |
initStructures()
Initializes widgets and creates a controller if not yet done.
|
protected void |
initUi()
Initializes the content of the window.
|
createButtonArea, createConstraintsForArea, createTabInfo, open, wrapTabContent
addImpl, 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, update
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack
addPropertyChangeListener, 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, toFront
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, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
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, 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, transferFocusUpCycle
private static final long serialVersionUID
static final java.lang.String DOC_ID
static final java.lang.Integer DOC_ID_ADD_GLOBAL_AT_TICK
static final java.lang.Integer DOC_ID_ADD_GLOBAL_EACH
static final java.lang.Integer DOC_ID_ADD_GLOBAL_START
static final java.lang.Integer DOC_ID_ADD_GLOBAL_STOP
static final java.lang.Integer DOC_ID_UPDATE_GLOBAL_ALL
private static final int TEXT_FIELD_WIDTH
private static final int TEXT_FIELD_HEIGHT
private static final int TEXT_AREA_HEIGHT
javax.swing.JCheckBox cbxAddTickComments
javax.swing.JCheckBox cbxAddConfig
javax.swing.JCheckBox cbxAddScore
javax.swing.JCheckBox cbxAddStatistics
javax.swing.JCheckBox cbxAddStrategyStat
javax.swing.JComboBox<NamedInteger> cbxLengthStrategy
javax.swing.JComboBox<NamedInteger> cbxMinTicksOnAt480
javax.swing.JComboBox<NamedInteger> cbxMaxTicksOnAt480
javax.swing.JTextField fldMinDurToKeep
javax.swing.JTextField fldMaxDurToKeep
javax.swing.JTextField fldLengthTickTolerance
javax.swing.JTextField fldDurationRatioTolerance
javax.swing.JCheckBox cbxPredefinedChords
javax.swing.JTextField fldChordNoteOnTolerance
javax.swing.JTextField fldChordNoteOffTolerance
javax.swing.JTextField fldChordVelocityTolerance
javax.swing.JCheckBox cbxUseDottedNote
javax.swing.JCheckBox cbxUseDottedRest
javax.swing.JCheckBox cbxUseTriplettedNote
javax.swing.JCheckBox cbxUseTriplettedRest
javax.swing.JCheckBox cbxUseKaraoke
javax.swing.JCheckBox cbxAllSyllablesOrphaned
javax.swing.JComboBox<NamedInteger> cbxOrphanedSyllables
javax.swing.JCheckBox cbxKarOneChannel
javax.swing.JComboBox<NamedInteger> cbxCtrlChangeMode
javax.swing.JComboBox<NamedInteger> cbxSyntaxType
javax.swing.JTextField fldElementsPerLine
javax.swing.JCheckBox cbxUseBarlines
javax.swing.JTextField fldBarlineTol
javax.swing.JTextField fldAddGlobalAtTick
MidicaButton btnAddGlobalAtTick
javax.swing.JTextField fldAddGlobalsEachTick
javax.swing.JTextField fldAddGlobalsStartTick
javax.swing.JTextField fldAddGlobalsStopTick
MidicaButton btnAddGlobalTicks
javax.swing.JTextArea areaGlobalsStr
MidicaButton btnAllTicks
javax.swing.JTabbedPane tabs
public DecompileConfigView(javax.swing.JDialog owner, ConfigIcon icon)
Creates the window for the decompile configuration.
owner
- the file selection windowicon
- the icon to open this windowpublic DecompileConfigView()
Creates a default window that is not intended to be used as a real window.
protected FileConfigController initStructures()
FileConfigView
Initializes widgets and creates a controller if not yet done.
initStructures
in class FileConfigView
protected void initUi()
FileConfigView
Initializes the content of the window.
initUi
in class FileConfigView
private java.awt.Container createDebugArea(java.lang.String tabKey)
Creates the area for debug settings.
tabKey
- language key for the tab nameprivate java.awt.Container createNoteLengthArea(java.lang.String tabKey)
Creates the area for note length calculation settings.
tabKey
- language key for the tab nameprivate java.awt.Container createChordArea(java.lang.String tabKey)
Creates the area for chord settings.
tabKey
- language key for the tab nameprivate java.awt.Container createNoteRestArea(java.lang.String tabKey)
Creates the area for notes/rests settings.
tabKey
- language key for the tab nameprivate java.awt.Container createKaraokeArea(java.lang.String tabKey)
Creates the area for karaoke settings.
tabKey
- language key for the tab nameprivate java.awt.Container createCtrlChangeArea(java.lang.String tabKey)
Creates the area for control change settings.
tabKey
- language key for the tab nameprivate java.awt.Container createSliceArea(java.lang.String tabKey)
Creates the area for adding additional global commands.
tabKey
- language key for the tab nameprivate java.awt.Container createLineArea(java.lang.String tabKey)
Creates the area for line settings (compact or alda).
tabKey
- language key for the tab nameprotected void addSpecificKeyBindings()
FileConfigView
Adds file specific key bindings to the info window.
addSpecificKeyBindings
in class FileConfigView