Package ca.phon.opgraph.nodes.phonex
Class PhonexGroupNode
java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.opgraph.nodes.phonex.PhonexGroupNode
- All Implemented Interfaces:
ca.phon.opgraph.app.extensions.NodeSettings
,ca.phon.opgraph.dag.Vertex
,ca.phon.opgraph.extensions.Extendable
public class PhonexGroupNode
extends ca.phon.opgraph.OpNode
implements ca.phon.opgraph.app.extensions.NodeSettings
Source node for data returned from a phonex
matcher. This node is used within the
PhonexFindNode
macro and requires that
the current context provide the matcher as a value
under key MATCHER_KEY
.-
Field Summary
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 TypeMethodDescriptiongetComponent
(ca.phon.opgraph.app.GraphDocument document) int
getGroup()
Get group indexvoid
loadSettings
(Properties arg0) void
operate
(ca.phon.opgraph.OpContext context) void
setGroup
(int group) Set group indexMethods 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
-
Field Details
-
MATCHER_KEY
Matcher key- See Also:
-
-
Constructor Details
-
PhonexGroupNode
public PhonexGroupNode()Constructor -
PhonexGroupNode
public PhonexGroupNode(int group)
-
-
Method Details
-
operate
public void operate(ca.phon.opgraph.OpContext context) throws ca.phon.opgraph.exceptions.ProcessingException - Specified by:
operate
in classca.phon.opgraph.OpNode
- Throws:
ca.phon.opgraph.exceptions.ProcessingException
-
getGroup
public int getGroup()Get group index -
setGroup
public void setGroup(int group) Set group index -
getComponent
- Specified by:
getComponent
in interfaceca.phon.opgraph.app.extensions.NodeSettings
-
getSettings
- Specified by:
getSettings
in interfaceca.phon.opgraph.app.extensions.NodeSettings
-
loadSettings
- Specified by:
loadSettings
in interfaceca.phon.opgraph.app.extensions.NodeSettings
-