cct.dialogs
Class JModifyAngleDialog

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by javax.swing.JDialog
                      extended by cct.dialogs.JModifyAngleDialog
All Implemented Interfaces:
OperationsOnAtoms, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class JModifyAngleDialog
extends javax.swing.JDialog
implements OperationsOnAtoms

Title: Picking

Description:

Copyright: Copyright (c) 2005

Company:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Nested classes/interfaces inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  javax.swing.JPanel anglePanel
           
(package private)  javax.swing.JPanel Atom_1
           
(package private)  javax.swing.JPanel Atom_2
           
(package private)  javax.swing.JPanel Atom_3
           
(package private)  javax.swing.border.Border border1
           
(package private)  javax.swing.border.Border border2
           
(package private)  java.awt.BorderLayout borderLayout1
           
(package private)  java.awt.BorderLayout borderLayout2
           
(package private)  javax.swing.ButtonGroup buttonGroup1
           
(package private)  javax.swing.ButtonGroup buttonGroup2
           
(package private)  javax.swing.ButtonGroup buttonGroup3
           
(package private)  javax.swing.JPanel buttonPanel
           
(package private)  javax.swing.JSlider changeAngle
           
(package private)  javax.swing.JPanel changeAnglePanel
           
(package private)  javax.swing.JTextField currentAngle
           
(package private)  MolecularEditor daddy
           
(package private)  javax.swing.JPanel DisplPanel
           
(package private)  javax.swing.JButton Finish
           
(package private)  javax.swing.JRadioButton Fixed_1
           
(package private)  javax.swing.JRadioButton Fixed_2
           
(package private)  javax.swing.JRadioButton Fixed_3
           
(package private)  java.awt.FlowLayout flowLayout1
           
(package private)  java.awt.GridBagLayout gridBagLayout1
           
(package private)  java.awt.GridBagLayout gridBagLayout2
           
(package private)  java.awt.GridBagLayout gridBagLayout3
           
(package private)  java.awt.GridBagLayout gridBagLayout4
           
(package private)  java.awt.GridBagLayout gridBagLayout5
           
(package private)  java.awt.GridLayout gridLayout1
           
(package private)  javax.swing.JButton helpButton
           
(package private)  javax.swing.JPanel InfoPanel
           
(package private)  javax.swing.JCheckBox instantView
           
(package private)  javax.swing.JLabel jLabel1
           
(package private)  javax.swing.JLabel jLabel2
           
(package private)  java.util.HashMap Labels
           
(package private)  javax.swing.JPanel mainPanel
           
(package private)  javax.swing.JLabel maxAngle
           
(package private)  float maxAngleValue
           
(package private)  javax.swing.JLabel minAngle
           
(package private)  javax.swing.JButton Ok
           
(package private)  float oldAngle
           
(package private)  javax.swing.JButton Reset
           
(package private)  javax.swing.JRadioButton Rotate_atom_1
           
(package private)  javax.swing.JRadioButton Rotate_atom_3
           
(package private)  javax.swing.JRadioButton Rotate_group_1
           
(package private)  javax.swing.JRadioButton Rotate_group_3
           
(package private)  boolean setOnlySlider
           
(package private)  javax.swing.JRadioButton Translate_atom_2
           
(package private)  javax.swing.JRadioButton Translate_group_1
           
(package private)  javax.swing.JRadioButton Translate_group_2
           
(package private)  javax.swing.JRadioButton Translate_group_3
           
(package private)  javax.swing.JButton undoLastSelection
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface cct.modelling.OperationsOnAtoms
FIXED_ATOM, ROTATE_ATOM, ROTATE_GROUP, RULE_DIFFERENCE, RULE_INTERSECTION, RULE_UNION, SELECT_ATOMS, SELECT_MOLECULES, SELECT_MONOMERS, SELECTED_ADD_ATOMS, SELECTED_ADD_FRAGMENT, SELECTED_ADD_MOLECULE, SELECTED_CHANGE_ATOM_LABELS_COLOR, SELECTED_CHANGE_ATOM_LABELS_SIZE, SELECTED_CREATE_CENTROID, SELECTED_DELETE_ATOMS, SELECTED_DISPLAY_ATOMS, SELECTED_FILL_VALENCES_WITH_HYDROGENS, SELECTED_LABEL_ATOMS, SELECTED_MODIFY_ANGLES, SELECTED_MODIFY_ATOMS, SELECTED_MODIFY_BONDS, SELECTED_MODIFY_DIHEDRALS, SELECTED_NOTHING, SELECTED_SOLVATE_CAP, SELECTED_SOLVATE_SHELL, SELECTED_UNDISPLAY_ATOMS, SELECTED_UNLABEL_ATOMS, SELECTION_FOUR_ATOMS_ONLY, SELECTION_ONE_ATOM_ONLY, SELECTION_SPOT_ONLY, SELECTION_THREE_ATOMS_ONLY, SELECTION_TWO_ATOMS_ONLY, SELECTION_UNLIMITED, TRANSLATE_ATOM, TRANSLATE_GROUP
 
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
JModifyAngleDialog()
           
JModifyAngleDialog(java.awt.Frame owner, java.lang.String title, boolean modal)
           
 
Method Summary
 void changeAngle_stateChanged(javax.swing.event.ChangeEvent e)
           
 void currentAngle_actionPerformed(java.awt.event.ActionEvent e)
           
 void Finish_actionPerformed(java.awt.event.ActionEvent e)
           
 void Fixed_1_stateChanged(javax.swing.event.ChangeEvent e)
           
 void Fixed_2_stateChanged(javax.swing.event.ChangeEvent e)
           
 void Fixed_3_stateChanged(javax.swing.event.ChangeEvent e)
           
 javax.swing.JButton getHelpButton()
           
 void modifyAngle(float angle)
           
 void Ok_actionPerformed(java.awt.event.ActionEvent e)
           
 void Reset_actionPerformed(java.awt.event.ActionEvent e)
           
 void Rotate_atom_1_stateChanged(javax.swing.event.ChangeEvent e)
           
 void setAngle(float angle)
           
 void setTargetClass(MolecularEditor target)
           
 void Translate_group_1_stateChanged(javax.swing.event.ChangeEvent e)
           
 void undoLastSelection_actionPerformed(java.awt.event.ActionEvent e)
           
 
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, 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, dispose, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, 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, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, 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, 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, isOpaque, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, 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

mainPanel

javax.swing.JPanel mainPanel

DisplPanel

javax.swing.JPanel DisplPanel

Atom_1

javax.swing.JPanel Atom_1

Atom_3

javax.swing.JPanel Atom_3

Atom_2

javax.swing.JPanel Atom_2

border1

javax.swing.border.Border border1

border2

javax.swing.border.Border border2

buttonGroup1

javax.swing.ButtonGroup buttonGroup1

buttonGroup2

javax.swing.ButtonGroup buttonGroup2

buttonGroup3

javax.swing.ButtonGroup buttonGroup3

Fixed_1

javax.swing.JRadioButton Fixed_1

Rotate_atom_1

javax.swing.JRadioButton Rotate_atom_1

Translate_group_1

javax.swing.JRadioButton Translate_group_1

Rotate_group_1

javax.swing.JRadioButton Rotate_group_1

Translate_group_2

javax.swing.JRadioButton Translate_group_2

Translate_atom_2

javax.swing.JRadioButton Translate_atom_2

Fixed_2

javax.swing.JRadioButton Fixed_2

Rotate_group_3

javax.swing.JRadioButton Rotate_group_3

Translate_group_3

javax.swing.JRadioButton Translate_group_3

Rotate_atom_3

javax.swing.JRadioButton Rotate_atom_3

Fixed_3

javax.swing.JRadioButton Fixed_3

gridLayout1

java.awt.GridLayout gridLayout1

InfoPanel

javax.swing.JPanel InfoPanel

maxAngle

javax.swing.JLabel maxAngle

minAngle

javax.swing.JLabel minAngle

currentAngle

javax.swing.JTextField currentAngle

jLabel1

javax.swing.JLabel jLabel1

jLabel2

javax.swing.JLabel jLabel2

changeAnglePanel

javax.swing.JPanel changeAnglePanel

changeAngle

javax.swing.JSlider changeAngle

Labels

java.util.HashMap Labels

anglePanel

javax.swing.JPanel anglePanel

daddy

MolecularEditor daddy

oldAngle

float oldAngle

maxAngleValue

float maxAngleValue

setOnlySlider

boolean setOnlySlider

buttonPanel

javax.swing.JPanel buttonPanel

flowLayout1

java.awt.FlowLayout flowLayout1

Finish

javax.swing.JButton Finish

instantView

javax.swing.JCheckBox instantView

undoLastSelection

javax.swing.JButton undoLastSelection

Ok

javax.swing.JButton Ok

Reset

javax.swing.JButton Reset

borderLayout1

java.awt.BorderLayout borderLayout1

gridBagLayout1

java.awt.GridBagLayout gridBagLayout1

gridBagLayout2

java.awt.GridBagLayout gridBagLayout2

gridBagLayout3

java.awt.GridBagLayout gridBagLayout3

gridBagLayout4

java.awt.GridBagLayout gridBagLayout4

borderLayout2

java.awt.BorderLayout borderLayout2

gridBagLayout5

java.awt.GridBagLayout gridBagLayout5

helpButton

javax.swing.JButton helpButton
Constructor Detail

JModifyAngleDialog

public JModifyAngleDialog(java.awt.Frame owner,
                          java.lang.String title,
                          boolean modal)

JModifyAngleDialog

public JModifyAngleDialog()
Method Detail

setTargetClass

public void setTargetClass(MolecularEditor target)

setAngle

public void setAngle(float angle)

modifyAngle

public void modifyAngle(float angle)

Finish_actionPerformed

public void Finish_actionPerformed(java.awt.event.ActionEvent e)

changeAngle_stateChanged

public void changeAngle_stateChanged(javax.swing.event.ChangeEvent e)

Fixed_1_stateChanged

public void Fixed_1_stateChanged(javax.swing.event.ChangeEvent e)

Fixed_2_stateChanged

public void Fixed_2_stateChanged(javax.swing.event.ChangeEvent e)

Fixed_3_stateChanged

public void Fixed_3_stateChanged(javax.swing.event.ChangeEvent e)

Translate_group_1_stateChanged

public void Translate_group_1_stateChanged(javax.swing.event.ChangeEvent e)

Rotate_atom_1_stateChanged

public void Rotate_atom_1_stateChanged(javax.swing.event.ChangeEvent e)

undoLastSelection_actionPerformed

public void undoLastSelection_actionPerformed(java.awt.event.ActionEvent e)

Ok_actionPerformed

public void Ok_actionPerformed(java.awt.event.ActionEvent e)

Reset_actionPerformed

public void Reset_actionPerformed(java.awt.event.ActionEvent e)

currentAngle_actionPerformed

public void currentAngle_actionPerformed(java.awt.event.ActionEvent e)

getHelpButton

public javax.swing.JButton getHelpButton()