Class NBODialog

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

    public class NBODialog
    extends NBODialogSearch
    A dialog for interacting with NBOServer The NBODialog class includes all public entry points. In addition, there are several superclasses: JDialog NBODialogConfig -- NBODialogModel ---- NBODialogRun ------ NBODialogView -------- NBODialogSearch ---------- NBODialog All of these are one object, just separated this way to allow some compartmentalization of tasks along the lines of NBOPro6.
    See Also:
    Serialized Form
    • Field Detail

      • jtRawInput

        private javax.swing.JTextField jtRawInput
      • isSet

        protected boolean isSet
    • Constructor Detail

      • NBODialog

        public NBODialog​(javax.swing.JFrame f,
                         Viewer vwr,
                         NBOService nboService)
        Creates a dialog for getting info related to output frames in nbo format.
        Parameters:
        f - The frame assosiated with the dialog
        vwr - The interacting display we are reproducing (source of view angle info etc)
        nboService -
    • Method Detail

      • createDialog

        private void createDialog​(int width,
                                  int height)
      • getMainButton

        private javax.swing.JButton getMainButton​(java.lang.String path,
                                                  char mode)
      • showErrorFile

        protected void showErrorFile​(java.lang.String err)
      • buildStatusPanel

        protected javax.swing.JPanel buildStatusPanel()
      • close

        protected void close()
      • checkEnabled

        private boolean checkEnabled()
      • openPanel

        public void openPanel​(char type)
      • setThis

        private void setThis​(javax.swing.JButton btn)
      • rawInput

        protected void rawInput()
      • notifyCallback

        public void notifyCallback​(CBK type,
                                   java.lang.Object[] data)
        Callback from Jmol Viewer indicating user actions
        Parameters:
        type -
        data -
      • alert

        void alert​(java.lang.String msg)
      • showHelp

        protected void showHelp​(java.lang.String key)
      • addLine

        public void addLine​(int type,
                            java.lang.String line)
      • setStatus

        public void setStatus​(java.lang.String statusInfo)