Package jmri.jmrit.logixng.util
Class LogixNG_SelectTable
- java.lang.Object
-
- jmri.jmrit.logixng.util.LogixNG_SelectTable
-
- All Implemented Interfaces:
java.beans.VetoableChangeListener
,java.util.EventListener
public class LogixNG_SelectTable extends java.lang.Object implements java.beans.VetoableChangeListener
Select table for LogixNG actions and expressions.
-
-
Constructor Summary
Constructors Constructor Description LogixNG_SelectTable(AbstractBase base, InUse inUse)
-
Method Summary
-
-
-
Constructor Detail
-
LogixNG_SelectTable
public LogixNG_SelectTable(AbstractBase base, InUse inUse)
-
-
Method Detail
-
copy
public void copy(LogixNG_SelectTable copy) throws ParserException
- Throws:
ParserException
-
setTableNameAddressing
public void setTableNameAddressing(@Nonnull NamedBeanAddressing addressing)
-
getTableNameAddressing
public NamedBeanAddressing getTableNameAddressing()
-
setTable
public void setTable(@Nonnull NamedBeanHandle<NamedTable> handle)
-
setTable
public void setTable(@Nonnull NamedTable table)
-
removeTable
public void removeTable()
-
getTable
public NamedBeanHandle<NamedTable> getTable()
-
setTableNameReference
public void setTableNameReference(@Nonnull java.lang.String reference)
-
getTableNameReference
public java.lang.String getTableNameReference()
-
setTableNameMemory
public void setTableNameMemory(@Nonnull java.lang.String memoryName)
-
setTableNameMemory
public void setTableNameMemory(@Nonnull NamedBeanHandle<Memory> handle)
-
setTableNameMemory
public void setTableNameMemory(@Nonnull Memory memory)
-
removeTableNameMemory
public void removeTableNameMemory()
-
getTableNameMemory
public NamedBeanHandle<Memory> getTableNameMemory()
-
setTableNameLocalVariable
public void setTableNameLocalVariable(@Nonnull java.lang.String localVariable)
-
getTableNameLocalVariable
public java.lang.String getTableNameLocalVariable()
-
setTableNameFormula
public void setTableNameFormula(@Nonnull java.lang.String formula) throws ParserException
- Throws:
ParserException
-
getTableNameFormula
public java.lang.String getTableNameFormula()
-
getSelectTableName
public LogixNG_SelectTable getSelectTableName()
-
setTableRowAddressing
public void setTableRowAddressing(@Nonnull NamedBeanAddressing addressing)
-
getTableRowAddressing
public NamedBeanAddressing getTableRowAddressing()
-
getTableRowName
public java.lang.String getTableRowName()
Get name of row- Returns:
- name
-
setTableRowName
public void setTableRowName(@Nonnull java.lang.String rowName)
Set name of column- Parameters:
rowName
- name
-
setTableRowReference
public void setTableRowReference(@Nonnull java.lang.String reference)
-
getTableRowReference
public java.lang.String getTableRowReference()
-
setTableRowMemory
public void setTableRowMemory(@Nonnull java.lang.String memoryName)
-
setTableRowMemory
public void setTableRowMemory(@Nonnull NamedBeanHandle<Memory> handle)
-
setTableRowMemory
public void setTableRowMemory(@Nonnull Memory memory)
-
removeTableRowMemory
public void removeTableRowMemory()
-
getTableRowMemory
public NamedBeanHandle<Memory> getTableRowMemory()
-
setTableRowLocalVariable
public void setTableRowLocalVariable(@Nonnull java.lang.String localVariable)
-
getTableRowLocalVariable
public java.lang.String getTableRowLocalVariable()
-
setTableRowFormula
public void setTableRowFormula(@Nonnull java.lang.String formula) throws ParserException
- Throws:
ParserException
-
getTableRowFormula
public java.lang.String getTableRowFormula()
-
getSelectTableRow
public LogixNG_SelectTable getSelectTableRow()
-
setTableColumnAddressing
public void setTableColumnAddressing(@Nonnull NamedBeanAddressing addressing)
-
getTableColumnAddressing
public NamedBeanAddressing getTableColumnAddressing()
-
setTableColumnReference
public void setTableColumnReference(@Nonnull java.lang.String reference)
-
getTableColumnReference
public java.lang.String getTableColumnReference()
-
setTableColumnMemory
public void setTableColumnMemory(@Nonnull java.lang.String memoryName)
-
setTableColumnMemory
public void setTableColumnMemory(@Nonnull NamedBeanHandle<Memory> handle)
-
setTableColumnMemory
public void setTableColumnMemory(@Nonnull Memory memory)
-
removeTableColumnMemory
public void removeTableColumnMemory()
-
getTableColumnMemory
public NamedBeanHandle<Memory> getTableColumnMemory()
-
setTableColumnLocalVariable
public void setTableColumnLocalVariable(@Nonnull java.lang.String localVariable)
-
getTableColumnLocalVariable
public java.lang.String getTableColumnLocalVariable()
-
setTableColumnFormula
public void setTableColumnFormula(@Nonnull java.lang.String formula) throws ParserException
- Throws:
ParserException
-
getTableColumnFormula
public java.lang.String getTableColumnFormula()
-
getTableColumnName
public java.lang.String getTableColumnName()
Get name of column- Returns:
- name
-
setTableColumnName
public void setTableColumnName(@Nonnull java.lang.String columnName)
Set name of column- Parameters:
columnName
- name
-
getSelectTableColumn
public LogixNG_SelectTable getSelectTableColumn()
-
vetoableChange
public void vetoableChange(java.beans.PropertyChangeEvent evt) throws java.beans.PropertyVetoException
- Specified by:
vetoableChange
in interfacejava.beans.VetoableChangeListener
- Throws:
java.beans.PropertyVetoException
-
evaluateTableData
public java.lang.Object evaluateTableData(ConditionalNG conditionalNG) throws JmriException
- Throws:
JmriException
-
evaluateAndSetTableData
public void evaluateAndSetTableData(ConditionalNG conditionalNG, java.lang.Object value) throws JmriException
- Throws:
JmriException
-
getTableNameDescription
public java.lang.String getTableNameDescription(java.util.Locale locale)
-
getTableRowDescription
public java.lang.String getTableRowDescription(java.util.Locale locale)
-
getTableColumnDescription
public java.lang.String getTableColumnDescription(java.util.Locale locale)
-
-