Package ca.phon.app.opgraph.nodes.table
Class AddColumnNode
java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.app.opgraph.nodes.table.TableOpNode
ca.phon.app.opgraph.nodes.table.TableScriptNode
ca.phon.app.opgraph.nodes.table.AddColumnNode
- All Implemented Interfaces:
ScriptNode
,ca.phon.opgraph.app.extensions.NodeSettings
,ca.phon.opgraph.dag.Vertex
,ca.phon.opgraph.extensions.Extendable
Add a new column to the given table using
a user-entered script.
-
Field Summary
Fields inherited from class ca.phon.app.opgraph.nodes.table.TableOpNode
tableInput, tableOutput
Fields inherited from class ca.phon.opgraph.OpNode
CATEGORY_PROPERTY, COMPLETED_FIELD, DESCRIPTION_PROPERTY, ENABLED_FIELD, ID_PROPERTY, NAME_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected JComponent
static ResourceLoader<URL>
int
void
loadSettings
(Properties properties) void
operate
(ca.phon.opgraph.OpContext context) void
setColumnIndex
(int colIndex) void
setColumnName
(String columnName) Methods inherited from class ca.phon.app.opgraph.nodes.table.TableScriptNode
getComponent, getScript, getScriptPanel, getTableScriptResourceLoader, reloadFields, toOpNode
Methods inherited from class ca.phon.app.opgraph.nodes.table.TableOpNode
getColumnIndex, getColumnIndices, getInputTable, setTableOutput
Methods inherited from class ca.phon.opgraph.OpNode
addNodeListener, checkCanceled, getCategory, getDefaultCategory, getDefaultDescription, getDefaultName, getDescription, getExtension, getExtensionClasses, getId, getInputFields, getInputFieldWithKey, getName, getOutputFields, getOutputFieldWithKey, isBreakpoint, isCanceled, putExtension, putField, putField, putField, putField, removeAllInputFields, removeAllOutputFields, removeField, removeField, removeNodeListener, setBreakpoint, setCanceled, setCategory, setDescription, setId, setName
-
Constructor Details
-
AddColumnNode
public AddColumnNode() -
AddColumnNode
-
-
Method Details
-
getAddColumnScriptResourceLoader
-
operate
public void operate(ca.phon.opgraph.OpContext context) throws ca.phon.opgraph.exceptions.ProcessingException - Overrides:
operate
in classTableScriptNode
- Throws:
ca.phon.opgraph.exceptions.ProcessingException
-
getAddColumnScriptLibrary
-
createSettingsPanel
- Overrides:
createSettingsPanel
in classTableScriptNode
-
getColumnName
-
setColumnName
-
getColumnIndex
public int getColumnIndex() -
setColumnIndex
public void setColumnIndex(int colIndex) -
getSettings
- Specified by:
getSettings
in interfaceca.phon.opgraph.app.extensions.NodeSettings
- Overrides:
getSettings
in classTableScriptNode
-
loadSettings
- Specified by:
loadSettings
in interfaceca.phon.opgraph.app.extensions.NodeSettings
- Overrides:
loadSettings
in classTableScriptNode
-