net.luniks.jtvd
Class PrefsDialog

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended byjavax.swing.JDialog
                      extended bynet.luniks.jtvd.PrefsDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class PrefsDialog
extends javax.swing.JDialog

See Also:
Serialized Form

Nested Class Summary
(package private)  class PrefsDialog.ButtonCellEditor
           
(package private)  class PrefsDialog.LnFInfo
           
static class PrefsDialog.Program
           
 
Nested classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Nested classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
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
 
Field Summary
private  javax.swing.JPanel buttonPanel
           
private  javax.swing.JButton cancelButton
           
private  javax.swing.JFileChooser dirChooser
           
private  javax.swing.JFileChooser fileChooser
           
private  java.text.DecimalFormat freqFormat
           
private  FreqTables.FreqTable freqTable
           
private  boolean initCompleted
           
private  java.awt.Insets insets
           
private  JTVDFrame mainFrame
           
private  javax.swing.JButton nextButton
           
private  javax.swing.ImageIcon nextIcon
           
private  boolean ok
           
private  javax.swing.JButton okButton
           
(package private)  javax.swing.JTabbedPane pane
           
private  javax.swing.JPanel panel1
           
private  javax.swing.JCheckBox panel1CheckBox1
           
private  javax.swing.JCheckBox panel1CheckBox2
           
private  javax.swing.JCheckBox panel1CheckBox3
           
private  javax.swing.JCheckBox panel1CheckBox4
           
private  javax.swing.JComboBox panel1ComboBox1
           
private  javax.swing.JTextArea panel1Text
           
private  javax.swing.JTextField panel1TextField1
           
private  javax.swing.JTextField panel1TextField2
           
private  javax.swing.JLabel panel1Title
           
private  javax.swing.JPanel panel2
           
private  javax.swing.JTextArea panel2Text
           
private  javax.swing.JTextField panel2TextField1
           
private  javax.swing.JLabel panel2Title
           
private  javax.swing.JPanel panel3
           
private  javax.swing.JTextArea panel3Text
           
private  javax.swing.JTextField panel3TextField1
           
private  javax.swing.JLabel panel3Title
           
private  javax.swing.JPanel panel4
           
private  javax.swing.JTextArea panel4Text
           
private  javax.swing.JLabel panel4Title
           
private  javax.swing.JPanel panel5
           
private  javax.swing.JButton panel5Button1
           
private  javax.swing.JButton panel5Button2
           
private  javax.swing.JButton panel5Button3
           
private  javax.swing.JButton panel5Button4
           
private  javax.swing.JComboBox panel5ComboBox1
           
private  javax.swing.JComboBox panel5ComboBox2
           
private  javax.swing.JComboBox panel5ComboBox3
           
private  javax.swing.JTextArea panel5Text
           
private  javax.swing.JTextField panel5TextField1
           
private  javax.swing.JLabel panel5Title
           
private  javax.swing.JPanel panel6
           
private  javax.swing.JCheckBox panel6CheckBox1
           
private  javax.swing.JComboBox panel6ComboBox1
           
private  javax.swing.JTextArea panel6Text
           
private  javax.swing.JLabel panel6Title
           
private  javax.swing.JButton prevButton
           
private  javax.swing.ImageIcon prevIcon
           
private  javax.swing.JTable progTable
           
private  IntroTableModel progTableModel
           
private  boolean selectFrequency
           
private  javax.swing.JSpinner spinner1
           
static int TEXT_COLS
           
static int TEXT_ROWS
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
 
Fields inherited from class java.awt.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 javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PrefsDialog(java.awt.Frame owner, java.lang.String title, boolean modal)
           
 
Method Summary
private  void cancelAction()
           
private  void deleteStationAction()
           
private  PrefsDialog.LnFInfo getCurrentLnF()
           
private  PrefsDialog.LnFInfo[] getLnFs()
           
 boolean getOK()
           
 void getPrefs()
           
 Station getStation()
           
private  void importStationAction()
           
private  void navigate(int i)
           
private  void newStationAction()
           
private  void okAction()
           
private  void saveStationAction()
           
private  void selectChannel()
           
private  void selectFine()
           
private  void selectFreqTable()
           
private  void selectFrequency()
           
private  void selectStation()
           
 void setPrefs()
           
 void setStation(Station station)
           
private  void testAction()
           
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mainFrame

private JTVDFrame mainFrame

ok

private boolean ok

initCompleted

private boolean initCompleted

selectFrequency

private boolean selectFrequency

freqFormat

private java.text.DecimalFormat freqFormat

freqTable

private FreqTables.FreqTable freqTable

pane

javax.swing.JTabbedPane pane

panel1

private javax.swing.JPanel panel1

panel2

private javax.swing.JPanel panel2

panel3

private javax.swing.JPanel panel3

panel4

private javax.swing.JPanel panel4

panel5

private javax.swing.JPanel panel5

panel6

private javax.swing.JPanel panel6

buttonPanel

private javax.swing.JPanel buttonPanel

panel1Title

private javax.swing.JLabel panel1Title

panel2Title

private javax.swing.JLabel panel2Title

panel3Title

private javax.swing.JLabel panel3Title

panel4Title

private javax.swing.JLabel panel4Title

panel5Title

private javax.swing.JLabel panel5Title

panel6Title

private javax.swing.JLabel panel6Title

panel1Text

private javax.swing.JTextArea panel1Text

panel2Text

private javax.swing.JTextArea panel2Text

panel3Text

private javax.swing.JTextArea panel3Text

panel4Text

private javax.swing.JTextArea panel4Text

panel5Text

private javax.swing.JTextArea panel5Text

panel6Text

private javax.swing.JTextArea panel6Text

panel1TextField1

private javax.swing.JTextField panel1TextField1

panel1TextField2

private javax.swing.JTextField panel1TextField2

panel2TextField1

private javax.swing.JTextField panel2TextField1

panel3TextField1

private javax.swing.JTextField panel3TextField1

panel5TextField1

private javax.swing.JTextField panel5TextField1

spinner1

private javax.swing.JSpinner spinner1

fileChooser

private javax.swing.JFileChooser fileChooser

dirChooser

private javax.swing.JFileChooser dirChooser

panel1ComboBox1

private javax.swing.JComboBox panel1ComboBox1

panel5ComboBox1

private javax.swing.JComboBox panel5ComboBox1

panel5ComboBox2

private javax.swing.JComboBox panel5ComboBox2

panel5ComboBox3

private javax.swing.JComboBox panel5ComboBox3

panel6ComboBox1

private javax.swing.JComboBox panel6ComboBox1

panel6CheckBox1

private javax.swing.JCheckBox panel6CheckBox1

panel1CheckBox1

private javax.swing.JCheckBox panel1CheckBox1

panel1CheckBox2

private javax.swing.JCheckBox panel1CheckBox2

panel1CheckBox3

private javax.swing.JCheckBox panel1CheckBox3

panel1CheckBox4

private javax.swing.JCheckBox panel1CheckBox4

panel5Button1

private javax.swing.JButton panel5Button1

panel5Button2

private javax.swing.JButton panel5Button2

panel5Button3

private javax.swing.JButton panel5Button3

panel5Button4

private javax.swing.JButton panel5Button4

nextButton

private javax.swing.JButton nextButton

prevButton

private javax.swing.JButton prevButton

okButton

private javax.swing.JButton okButton

cancelButton

private javax.swing.JButton cancelButton

progTable

private javax.swing.JTable progTable

progTableModel

private IntroTableModel progTableModel

insets

private java.awt.Insets insets

TEXT_ROWS

public static final int TEXT_ROWS
See Also:
Constant Field Values

TEXT_COLS

public static final int TEXT_COLS
See Also:
Constant Field Values

prevIcon

private javax.swing.ImageIcon prevIcon

nextIcon

private javax.swing.ImageIcon nextIcon
Constructor Detail

PrefsDialog

public PrefsDialog(java.awt.Frame owner,
                   java.lang.String title,
                   boolean modal)
Method Detail

okAction

private void okAction()

cancelAction

private void cancelAction()

selectFreqTable

private void selectFreqTable()

selectStation

private void selectStation()

selectChannel

private void selectChannel()

selectFine

private void selectFine()

selectFrequency

private void selectFrequency()

getLnFs

private PrefsDialog.LnFInfo[] getLnFs()

navigate

private void navigate(int i)

getOK

public boolean getOK()

getStation

public Station getStation()

setStation

public void setStation(Station station)

testAction

private void testAction()

newStationAction

private void newStationAction()

saveStationAction

private void saveStationAction()

deleteStationAction

private void deleteStationAction()

importStationAction

private void importStationAction()

getPrefs

public void getPrefs()

setPrefs

public void setPrefs()

getCurrentLnF

private PrefsDialog.LnFInfo getCurrentLnF()


Copyright (c) 2004, 2005 Torsten Römer, dode@luniks.net