Class PreferencesDialog

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class PreferencesDialog extends JDialog implements ActionListener
See Also:
  • Field Details

    • autoBond

      private boolean autoBond
    • showHydrogens

      boolean showHydrogens
    • showMeasurements

      boolean showMeasurements
    • perspectiveDepth

      boolean perspectiveDepth
    • showAxes

      boolean showAxes
    • showBoundingBox

      boolean showBoundingBox
    • axesOrientationRasmol

      boolean axesOrientationRasmol
    • antialiasDisplay

      boolean antialiasDisplay
    • measureAngstroms

      boolean measureAngstroms
    • openFilePreview

      boolean openFilePreview
    • clearHistory

      boolean clearHistory
    • fontScale

      int fontScale
    • minBondDistance

      float minBondDistance
    • bondTolerance

      float bondTolerance
    • marBond

      short marBond
    • percentVdwAtom

      int percentVdwAtom
    • bondingVersion

      int bondingVersion
    • bButton

      JButton bButton
    • pButton

      JButton pButton
    • tButton

      JButton tButton
    • eButton

      JButton eButton
    • vButton

      JButton vButton
    • abYes

      private JRadioButton abYes
    • abNo

      private JRadioButton abNo
    • vdwPercentSlider

      private JSlider vdwPercentSlider
    • bdSlider

      private JSlider bdSlider
    • bwSlider

      private JSlider bwSlider
    • btSlider

      private JSlider btSlider
    • cH

      private JCheckBox cH
    • cM

      private JCheckBox cM
    • cbPerspectiveDepth

      private JCheckBox cbPerspectiveDepth
    • cbShowAxes

      private JCheckBox cbShowAxes
    • cbShowBoundingBox

      private JCheckBox cbShowBoundingBox
    • cbAntialias

      private JCheckBox cbAntialias
    • cbMeasureAngstroms

      private JCheckBox cbMeasureAngstroms
    • cbAxesOrientationRasmol

      private JCheckBox cbAxesOrientationRasmol
    • cbOpenFilePreview

      private JCheckBox cbOpenFilePreview
    • cbClearHistory

      private JCheckBox cbClearHistory
    • jmolDefaultProperties

      private Properties jmolDefaultProperties
    • currentProperties

      Properties currentProperties
    • prefsAction

      private PreferencesDialog.PrefsAction prefsAction
    • commands

      private Map<String,Action> commands
    • jmolDefaults

      static final String[] jmolDefaults
    • rasmolOverrides

      static final String[] rasmolOverrides
    • jmol

      JmolPanel jmol
    • vwr

      Viewer vwr
    • guimap

      GuiMap guimap
    • actions

      List<Action> actions
    • checkBoxListener

      ItemListener checkBoxListener
    • applyButton

      private JButton applyButton
    • jmolDefaultsButton

      private JButton jmolDefaultsButton
    • rasmolDefaultsButton

      private JButton rasmolDefaultsButton
    • cancelButton

      private JButton cancelButton
    • okButton

      private JButton okButton
  • Constructor Details

  • Method Details

    • buildDispPanel

      public JPanel buildDispPanel()
    • buildAtomsPanel

      public JPanel buildAtomsPanel()
    • getJSliderLabelTable

      private Dictionary<Object,Object> getJSliderLabelTable(JSlider slider)
    • buildBondPanel

      public JPanel buildBondPanel()
    • centerDialog

      protected void centerDialog()
    • ok

      public void ok()
    • cancel

      public void cancel()
    • updateComponents

      private void updateComponents()
    • apply

      private void apply()
    • save

      void save()
    • initializeProperties

      void initializeProperties()
    • resetDefaults

      void resetDefaults(String[] overrides)
    • rebond

      void rebond()
    • initVariables

      void initVariables()
    • getProp

      private String getProp(String key)
    • getBoolean

      private boolean getBoolean(String key)
    • addActions

      public void addActions(List<Action> list)
    • getAction

      protected Action getAction(String cmd)
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Specified by:
      actionPerformed in interface ActionListener
    • setFontScale

      public void setFontScale(int scale)