Class LogixNG_DataDialog


  • public class LogixNG_DataDialog
    extends java.lang.Object
    A dialog to enter data. In LogixNG, the user can in many cases enter data in several ways. For example, a turnout can be entered directly, by using a reference, a local variable or a formula. This dialog presents a dialog for that.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void cancelDialogPressed​(java.awt.event.ActionEvent e)
      Respond to the Cancel button in Add bean window.
      boolean checkOpenDialog()  
      void dispose()  
      NamedBeanAddressing getAddressing()  
      void showDialog​(java.lang.String title, NamedBeanAddressing addressing, javax.swing.JComboBox<? extends java.lang.Object> comboBox, javax.swing.JTextField referenceTextField, javax.swing.JTextField localVariableTextField, javax.swing.JTextField formulaTextField, java.lang.Runnable runOnOk)  
      void showDialog​(java.lang.String title, NamedBeanAddressing addressing, javax.swing.JTextField textField, javax.swing.JTextField referenceTextField, javax.swing.JTextField localVariableTextField, javax.swing.JTextField formulaTextField, java.lang.Runnable runOnOk)  
      void showDialog​(java.lang.String title, NamedBeanAddressing addressing, BeanSelectPanel<? extends NamedBean> beanPanel, javax.swing.JTextField referenceTextField, javax.swing.JTextField localVariableTextField, javax.swing.JTextField formulaTextField, java.lang.Runnable runOnOk)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • showDialog

        public void showDialog​(java.lang.String title,
                               NamedBeanAddressing addressing,
                               BeanSelectPanel<? extends NamedBean> beanPanel,
                               javax.swing.JTextField referenceTextField,
                               javax.swing.JTextField localVariableTextField,
                               javax.swing.JTextField formulaTextField,
                               java.lang.Runnable runOnOk)
      • showDialog

        public void showDialog​(java.lang.String title,
                               NamedBeanAddressing addressing,
                               javax.swing.JComboBox<? extends java.lang.Object> comboBox,
                               javax.swing.JTextField referenceTextField,
                               javax.swing.JTextField localVariableTextField,
                               javax.swing.JTextField formulaTextField,
                               java.lang.Runnable runOnOk)
      • showDialog

        public void showDialog​(java.lang.String title,
                               NamedBeanAddressing addressing,
                               javax.swing.JTextField textField,
                               javax.swing.JTextField referenceTextField,
                               javax.swing.JTextField localVariableTextField,
                               javax.swing.JTextField formulaTextField,
                               java.lang.Runnable runOnOk)
      • cancelDialogPressed

        void cancelDialogPressed​(java.awt.event.ActionEvent e)
        Respond to the Cancel button in Add bean window.

        Note: Also get there if the user closes the Add bean window.

        Parameters:
        e - The event heard