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 void
executeEvaluate(Base object)
Execute or evaluate an item that this object configures.void
getAllSymbols(Base object, SymbolTable symbolTable)
java.lang.String
getExecuteEvaluateMenuText()
Get the menu text for execute/evaluate.javax.swing.JDialog
getJDialog()
Set the dialog of this SWI.void
setJDialog(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:
setJDialog
in interfaceSwingConfiguratorInterface
- Parameters:
dialog
- the dialog
-
getJDialog
public javax.swing.JDialog getJDialog()
Set the dialog of this SWI.- Specified by:
getJDialog
in 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:
getExecuteEvaluateMenuText
in interfaceSwingConfiguratorInterface
- Returns:
- the menu text
-
executeEvaluate
public void executeEvaluate(@Nonnull Base object)
Execute or evaluate an item that this object configures.- Specified by:
executeEvaluate
in interfaceSwingConfiguratorInterface
- Parameters:
object
- the object to execute or evaluate
-
-