Package jmri.jmrit.logixng.swing
Class LogixNG_DataDialog
java.lang.Object
jmri.jmrit.logixng.swing.LogixNG_DataDialog
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 -
Method Summary
Modifier and TypeMethodDescription(package private) voidRespond to the Cancel button in Add bean window.booleanvoiddispose()voidshowDialog(String title, NamedBeanAddressing addressing, JComboBox<? extends Object> comboBox, JTextField referenceTextField, JTextField localVariableTextField, JTextField formulaTextField, Runnable runOnOk) voidshowDialog(String title, NamedBeanAddressing addressing, JTextField textField, JTextField referenceTextField, JTextField localVariableTextField, JTextField formulaTextField, Runnable runOnOk) voidshowDialog(String title, NamedBeanAddressing addressing, BeanSelectPanel<? extends NamedBean> beanPanel, JTextField referenceTextField, JTextField localVariableTextField, JTextField formulaTextField, Runnable runOnOk)
-
Constructor Details
-
LogixNG_DataDialog
-
-
Method Details
-
showDialog
public void showDialog(String title, NamedBeanAddressing addressing, BeanSelectPanel<? extends NamedBean> beanPanel, JTextField referenceTextField, JTextField localVariableTextField, JTextField formulaTextField, Runnable runOnOk) -
showDialog
public void showDialog(String title, NamedBeanAddressing addressing, JComboBox<? extends Object> comboBox, JTextField referenceTextField, JTextField localVariableTextField, JTextField formulaTextField, Runnable runOnOk) -
showDialog
public void showDialog(String title, NamedBeanAddressing addressing, JTextField textField, JTextField referenceTextField, JTextField localVariableTextField, JTextField formulaTextField, Runnable runOnOk) -
getAddressing
-
checkOpenDialog
-
cancelDialogPressed
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
-