net.luniks.jtvd
Class TitlePanel
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.luniks.jtvd.TitlePanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- public class TitlePanel
- extends javax.swing.JPanel
- See Also:
- Serialized Form
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Fields inherited from class javax.swing.JPanel |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mainFrame
private JTVDFrame mainFrame
AUTHOR
public static final java.lang.String AUTHOR
- See Also:
- Constant Field Values
BURNER
public static final java.lang.String BURNER
- See Also:
- Constant Field Values
cancelled
private boolean cancelled
currLevel
private int currLevel
sortCol
private int sortCol
sortDir
private int sortDir
useMenu
private boolean useMenu
menuOption
private int menuOption
menuPause
private int menuPause
menuTitle
private Files.TitleInfo menuTitle
burnTitles
private java.util.ArrayList burnTitles
DVD_R5
public static final java.lang.String DVD_R5
- See Also:
- Constant Field Values
DVD_R9
public static final java.lang.String DVD_R9
- See Also:
- Constant Field Values
listPanel
private javax.swing.JPanel listPanel
levelPanel
private javax.swing.JPanel levelPanel
burnPanel
private javax.swing.JPanel burnPanel
buttonPanel
private javax.swing.JPanel buttonPanel
scrollPane
private javax.swing.JScrollPane scrollPane
titleTable
private javax.swing.JTable titleTable
titleTableModel
private IntroTableModel titleTableModel
fileChooser
javax.swing.JFileChooser fileChooser
titlePopupMenu
javax.swing.JPopupMenu titlePopupMenu
addMenuItem
private javax.swing.JMenuItem addMenuItem
viewMenuItem
private javax.swing.JMenuItem viewMenuItem
renameMenuItem
private javax.swing.JMenuItem renameMenuItem
deleteMenuItem
private javax.swing.JMenuItem deleteMenuItem
chaptersMenuItem
private javax.swing.JMenuItem chaptersMenuItem
menuMenuItem
private javax.swing.JMenuItem menuMenuItem
refreshMenuItem
private javax.swing.JMenuItem refreshMenuItem
dvdTypeLabel
private javax.swing.JLabel dvdTypeLabel
dvdTypeComboBox
private javax.swing.JComboBox dvdTypeComboBox
levelBar
private javax.swing.JProgressBar levelBar
useSpeedCheckBox
private javax.swing.JCheckBox useSpeedCheckBox
speedComboBox
private javax.swing.JComboBox speedComboBox
overburnCheckBox
private javax.swing.JCheckBox overburnCheckBox
viewTitleButton
private javax.swing.JButton viewTitleButton
burnTitleButton
private javax.swing.JButton burnTitleButton
cancelTitleButton
private javax.swing.JButton cancelTitleButton
addTitleButton
private javax.swing.JButton addTitleButton
deleteTitleButton
private javax.swing.JButton deleteTitleButton
refreshTitleButton
private javax.swing.JButton refreshTitleButton
upListButton
private javax.swing.JButton upListButton
downListButton
private javax.swing.JButton downListButton
chaptersListButton
private javax.swing.JButton chaptersListButton
menuListButton
private javax.swing.JButton menuListButton
asChapterCheckBox
private javax.swing.JCheckBox asChapterCheckBox
createImageCheckBox
private javax.swing.JCheckBox createImageCheckBox
burnImageCheckBox
private javax.swing.JCheckBox burnImageCheckBox
menuCheckBox
private javax.swing.JCheckBox menuCheckBox
menuTextField
private javax.swing.JTextField menuTextField
menuFileButton
private javax.swing.JButton menuFileButton
viewIcon
private javax.swing.ImageIcon viewIcon
burnIcon
private javax.swing.ImageIcon burnIcon
cancelIcon
private javax.swing.ImageIcon cancelIcon
addIcon
private javax.swing.ImageIcon addIcon
renameIcon
private javax.swing.ImageIcon renameIcon
deleteIcon
private javax.swing.ImageIcon deleteIcon
refreshIcon
private javax.swing.ImageIcon refreshIcon
upIcon
private javax.swing.ImageIcon upIcon
downIcon
private javax.swing.ImageIcon downIcon
chaptersIcon
private javax.swing.ImageIcon chaptersIcon
menuIcon
private javax.swing.ImageIcon menuIcon
openIcon
private javax.swing.ImageIcon openIcon
insets
private java.awt.Insets insets
TitlePanel
public TitlePanel(JTVDFrame frame)
getTitlesToBurn
public Files.TitleInfo[] getTitlesToBurn()
getEditingEditor
private javax.swing.CellEditor getEditingEditor()
populate
private void populate()
setComponents
public void setComponents()
- Sets all components in this tab to values taken from the
global properties
setProperties
public void setProperties()
- Puts the current settings of all components in this tab in the
global properties
setup
private void setup()
addAction
private void addAction()
renameAction
private void renameAction()
viewAction
private void viewAction()
burnAction
private void burnAction()
checkMenuSize
private boolean checkMenuSize()
author
public void author()
burn
private void burn(java.io.File image)
cancelAction
private void cancelAction()
cancel
private void cancel()
deleteAction
private void deleteAction()
rename
private void rename(java.lang.String title)
delete
private void delete()
refreshAction
private void refreshAction()
refresh
void refresh()
resort
void resort()
- Resorts the file table
setLevel
private void setLevel()
setDVDType
private void setDVDType(java.lang.String type)
setLevelBar
private void setLevelBar()
moveAction
private void moveAction(int num)
chaptersAction
private void chaptersAction()
menuAction
private void menuAction()
insertChapters
private void insertChapters(int row,
Files.TitleInfo titleInfo,
float chapterLength)
addTitle
public void addTitle(java.io.File file,
float length)
updateUI
public void updateUI()
Copyright (c) 2004, 2005 Torsten Römer, dode@luniks.net