Package jmri.jmrit.logixng.swing
Class AbstractSwingConfigurator
java.lang.Object
jmri.jmrit.logixng.swing.AbstractSwingConfigurator
- All Implemented Interfaces:
Comparable<SwingConfiguratorInterface>,SwingConfiguratorInterface
- Direct Known Subclasses:
AbstractAnalogActionSwing,AbstractAnalogExpressionSwing,AbstractBooleanActionSwing,AbstractDebuggerMaleSocketSwing,AbstractDigitalActionSwing,AbstractDigitalExpressionSwing,AbstractMaleSocketSwing,AbstractStringActionSwing,AbstractStringExpressionSwing,DefaultModuleSwing
public abstract class AbstractSwingConfigurator
extends Object
implements SwingConfiguratorInterface
Abstract class for SwingConfiguratorInterface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteEvaluate(Base object) Execute or evaluate an item that this object configures.voidgetAllSymbols(Base object, SymbolTable symbolTable) Get the menu text for execute/evaluate.Set the dialog of this SWI.voidsetJDialog(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, waitMethods inherited from interface jmri.jmrit.logixng.swing.SwingConfiguratorInterface
canClose, compareTo, createNewObject, dispose, getAutoSystemName, getConfigPanel, getConfigPanel, getExampleSystemName, getManager, setDefaultValues, toString, updateObject, validate
-
Constructor Details
-
AbstractSwingConfigurator
public AbstractSwingConfigurator()
-
-
Method Details
-
setJDialog
Set the dialog of this SWI.- Specified by:
setJDialogin interfaceSwingConfiguratorInterface- Parameters:
dialog- the dialog
-
getJDialog
Set the dialog of this SWI.- Specified by:
getJDialogin interfaceSwingConfiguratorInterface- Returns:
- the dialog
-
getAllSymbols
-
getExecuteEvaluateMenuText
Get the menu text for execute/evaluate.- Specified by:
getExecuteEvaluateMenuTextin interfaceSwingConfiguratorInterface- Returns:
- the menu text
-
executeEvaluate
Execute or evaluate an item that this object configures.- Specified by:
executeEvaluatein interfaceSwingConfiguratorInterface- Parameters:
object- the object to execute or evaluate
-