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
    Modifier and Type
    Field
    Description
    static final String
    Matcher key

    Fields inherited from class ca.phon.opgraph.OpNode

    CATEGORY_PROPERTY, COMPLETED_FIELD, DESCRIPTION_PROPERTY, ENABLED_FIELD, ID_PROPERTY, NAME_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
    PhonexGroupNode(int group)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getComponent(ca.phon.opgraph.app.GraphDocument document)
     
    int
    Get group index
     
    void
     
    void
    operate(ca.phon.opgraph.OpContext context)
     
    void
    setGroup(int group)
    Set group index

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 class ca.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

      public Component getComponent(ca.phon.opgraph.app.GraphDocument document)
      Specified by:
      getComponent in interface ca.phon.opgraph.app.extensions.NodeSettings
    • getSettings

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

      public void loadSettings(Properties arg0)
      Specified by:
      loadSettings in interface ca.phon.opgraph.app.extensions.NodeSettings