Package jmri.jmrit.logixng.swing
Class AbstractSwingConfigurator
- java.lang.Object
-
- jmri.jmrit.logixng.swing.AbstractSwingConfigurator
-
- All Implemented Interfaces:
java.lang.Comparable<SwingConfiguratorInterface>,SwingConfiguratorInterface
- Direct Known Subclasses:
AbstractAnalogActionSwing,AbstractAnalogExpressionSwing,AbstractBooleanActionSwing,AbstractDebuggerMaleSocketSwing,AbstractDigitalActionSwing,AbstractDigitalExpressionSwing,AbstractMaleSocketSwing,AbstractStringActionSwing,AbstractStringExpressionSwing,DefaultModuleSwing
public abstract class AbstractSwingConfigurator extends java.lang.Object implements SwingConfiguratorInterface
Abstract class for SwingConfiguratorInterface
-
-
Constructor Summary
Constructors Constructor Description AbstractSwingConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteEvaluate(Base object)Execute or evaluate an item that this object configures.voidgetAllSymbols(Base object, SymbolTable symbolTable)java.lang.StringgetExecuteEvaluateMenuText()Get the menu text for execute/evaluate.javax.swing.JDialoggetJDialog()Set the dialog of this SWI.voidsetJDialog(javax.swing.JDialog dialog)Set the dialog of this SWI.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jmri.jmrit.logixng.swing.SwingConfiguratorInterface
canClose, compareTo, createNewObject, dispose, getAutoSystemName, getConfigPanel, getConfigPanel, getExampleSystemName, getManager, setDefaultValues, toString, updateObject, validate
-
-
-
-
Constructor Detail
-
AbstractSwingConfigurator
public AbstractSwingConfigurator()
-
-
Method Detail
-
setJDialog
public void setJDialog(javax.swing.JDialog dialog)
Set the dialog of this SWI.- Specified by:
setJDialogin interfaceSwingConfiguratorInterface- Parameters:
dialog- the dialog
-
getJDialog
public javax.swing.JDialog getJDialog()
Set the dialog of this SWI.- Specified by:
getJDialogin interfaceSwingConfiguratorInterface- Returns:
- the dialog
-
getAllSymbols
public void getAllSymbols(@Nonnull Base object, SymbolTable symbolTable)
-
getExecuteEvaluateMenuText
public java.lang.String getExecuteEvaluateMenuText()
Get the menu text for execute/evaluate.- Specified by:
getExecuteEvaluateMenuTextin interfaceSwingConfiguratorInterface- Returns:
- the menu text
-
executeEvaluate
public void executeEvaluate(@Nonnull Base object)
Execute or evaluate an item that this object configures.- Specified by:
executeEvaluatein interfaceSwingConfiguratorInterface- Parameters:
object- the object to execute or evaluate
-
-