Class ExpressionEntryExitSwing
java.lang.Object
jmri.jmrit.logixng.swing.AbstractSwingConfigurator
jmri.jmrit.logixng.expressions.swing.AbstractDigitalExpressionSwing
jmri.jmrit.logixng.expressions.swing.ExpressionEntryExitSwing
- All Implemented Interfaces:
Comparable<SwingConfiguratorInterface>,SwingConfiguratorInterface
Configures an ExpressionEntryExit object with a Swing JPanel.
-
Field Summary
Fields inherited from class jmri.jmrit.logixng.expressions.swing.AbstractDigitalExpressionSwing
panel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNewObject(String systemName, String userName) Create a new object with the data entered.This method must also register the object in its manager.protected voidcreatePanel(Base object, JPanel buttonPanel) voiddispose()Dispose the panel and remove all the listeners that this class may have registered.Create a new system name.toString()Returns the name of the class that this class configures.voidupdateObject(Base object) Updates the object with the data in the form.booleanValidate the form.Methods inherited from class jmri.jmrit.logixng.expressions.swing.AbstractDigitalExpressionSwing
executeEvaluate, getConfigPanel, getConfigPanel, getExampleSystemName, getExecuteEvaluateMenuText, getManagerMethods inherited from class jmri.jmrit.logixng.swing.AbstractSwingConfigurator
getAllSymbols, getJDialog, setJDialogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jmri.jmrit.logixng.swing.SwingConfiguratorInterface
canClose, compareTo, setDefaultValues
-
Constructor Details
-
ExpressionEntryExitSwing
public ExpressionEntryExitSwing()
-
-
Method Details
-
createPanel
- Specified by:
createPanelin classAbstractDigitalExpressionSwing
-
validate
Validate the form.The parameter errorMessage is used to give the error message in case of an error. If there are errors, the error messages is added to the list errorMessage.
- Parameters:
errorMessages- the error messages in case of an error- Returns:
- true if data in the form is valid, false otherwise
-
getAutoSystemName
Create a new system name.- Specified by:
getAutoSystemNamein interfaceSwingConfiguratorInterface- Overrides:
getAutoSystemNamein classAbstractDigitalExpressionSwing- Returns:
- a new system name
-
createNewObject
Create a new object with the data entered.This method must also register the object in its manager.- Parameters:
systemName- system nameuserName- user name- Returns:
- a male socket for the new object
-
updateObject
Updates the object with the data in the form.- Parameters:
object- the object to update
-
toString
Returns the name of the class that this class configures.- Specified by:
toStringin interfaceSwingConfiguratorInterface- Overrides:
toStringin classObject- Returns:
- the name of the class this class configures.
-
dispose
Description copied from interface:SwingConfiguratorInterfaceDispose the panel and remove all the listeners that this class may have registered.
-