Package jmri.jmrit.logixng.swing
Class LogixNG_DataDialog
- java.lang.Object
-
- jmri.jmrit.logixng.swing.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.
-
-
Constructor Summary
Constructors Constructor Description LogixNG_DataDialog(SwingConfiguratorInterface swi)
-
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)
-
-
-
Constructor Detail
-
LogixNG_DataDialog
public LogixNG_DataDialog(SwingConfiguratorInterface swi)
-
-
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)
-
getAddressing
public NamedBeanAddressing getAddressing()
-
checkOpenDialog
public boolean checkOpenDialog()
-
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
-
dispose
public void dispose()
-
-