Class AddColumnNode

java.lang.Object
ca.phon.opgraph.OpNode
All Implemented Interfaces:
ScriptNode, ca.phon.opgraph.app.extensions.NodeSettings, ca.phon.opgraph.dag.Vertex, ca.phon.opgraph.extensions.Extendable

public class AddColumnNode extends TableScriptNode
Add a new column to the given table using a user-entered script.
  • Constructor Details

    • AddColumnNode

      public AddColumnNode()
    • AddColumnNode

      public AddColumnNode(PhonScript script)
  • Method Details

    • getAddColumnScriptResourceLoader

      public static ResourceLoader<URL> getAddColumnScriptResourceLoader()
    • operate

      public void operate(ca.phon.opgraph.OpContext context) throws ca.phon.opgraph.exceptions.ProcessingException
      Overrides:
      operate in class TableScriptNode
      Throws:
      ca.phon.opgraph.exceptions.ProcessingException
    • getAddColumnScriptLibrary

      public ResourceLoader<URL> getAddColumnScriptLibrary()
    • createSettingsPanel

      protected JComponent createSettingsPanel()
      Overrides:
      createSettingsPanel in class TableScriptNode
    • getColumnName

      public String getColumnName()
    • setColumnName

      public void setColumnName(String columnName)
    • getColumnIndex

      public int getColumnIndex()
    • setColumnIndex

      public void setColumnIndex(int colIndex)
    • getSettings

      public Properties getSettings()
      Specified by:
      getSettings in interface ca.phon.opgraph.app.extensions.NodeSettings
      Overrides:
      getSettings in class TableScriptNode
    • loadSettings

      public void loadSettings(Properties properties)
      Specified by:
      loadSettings in interface ca.phon.opgraph.app.extensions.NodeSettings
      Overrides:
      loadSettings in class TableScriptNode