Package jmri.jmrit.logixng.util
Class LogixNG_SelectStringList
- java.lang.Object
-
- jmri.jmrit.logixng.util.LogixNG_SelectStringList
-
- All Implemented Interfaces:
java.beans.VetoableChangeListener,java.util.EventListener
public class LogixNG_SelectStringList extends java.lang.Object implements java.beans.VetoableChangeListener
Select a string list for LogixNG actions and expressions.
-
-
Constructor Summary
Constructors Constructor Description LogixNG_SelectStringList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopy(LogixNG_SelectStringList copy)java.util.List<java.lang.String>evaluateValue(ConditionalNG conditionalNG)NamedBeanAddressinggetAddressing()java.lang.StringgetDescription(java.util.Locale locale)java.lang.StringgetFormula()java.util.List<java.lang.String>getList()java.lang.StringgetLocalVariable()booleanisDirectAddressing()booleanisOnlyDirectAddressingAllowed()voidregisterListeners()Register listeners if this object needs that.voidsetAddressing(NamedBeanAddressing addressing)voidsetFormula(java.lang.String formula)voidsetLocalVariable(java.lang.String localVariable)voidsetOnlyDirectAddressingAllowed()voidunregisterListeners()Unregister listeners if this object needs that.voidvetoableChange(java.beans.PropertyChangeEvent evt)
-
-
-
Constructor Detail
-
LogixNG_SelectStringList
public LogixNG_SelectStringList()
-
-
Method Detail
-
setOnlyDirectAddressingAllowed
public void setOnlyDirectAddressingAllowed()
-
isOnlyDirectAddressingAllowed
public boolean isOnlyDirectAddressingAllowed()
-
copy
public void copy(LogixNG_SelectStringList copy) throws ParserException
- Throws:
ParserException
-
setAddressing
public void setAddressing(@Nonnull NamedBeanAddressing addressing) throws ParserException
- Throws:
ParserException
-
isDirectAddressing
public boolean isDirectAddressing()
-
getAddressing
public NamedBeanAddressing getAddressing()
-
getList
public java.util.List<java.lang.String> getList()
-
setLocalVariable
public void setLocalVariable(@Nonnull java.lang.String localVariable)
-
getLocalVariable
public java.lang.String getLocalVariable()
-
setFormula
public void setFormula(@Nonnull java.lang.String formula) throws ParserException
- Throws:
ParserException
-
getFormula
public java.lang.String getFormula()
-
evaluateValue
public java.util.List<java.lang.String> evaluateValue(ConditionalNG conditionalNG) throws JmriException
- Throws:
JmriException
-
getDescription
public java.lang.String getDescription(java.util.Locale locale)
-
registerListeners
public void registerListeners()
Register listeners if this object needs that.
-
unregisterListeners
public void unregisterListeners()
Unregister listeners if this object needs that.
-
vetoableChange
public void vetoableChange(java.beans.PropertyChangeEvent evt) throws java.beans.PropertyVetoException
- Specified by:
vetoableChangein interfacejava.beans.VetoableChangeListener- Throws:
java.beans.PropertyVetoException
-
-