Class SortNode

java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.app.opgraph.nodes.table.TableOpNode
ca.phon.app.opgraph.nodes.table.SortNode
All Implemented Interfaces:
ca.phon.opgraph.app.extensions.NodeSettings, ca.phon.opgraph.dag.Vertex, ca.phon.opgraph.extensions.Extendable

public class SortNode extends TableOpNode implements ca.phon.opgraph.app.extensions.NodeSettings
Sort table node. Sorts a table based on the specified column(s) and sort order. Type of sorting (ipa vs. plain) is also specified. If placed on 'automatic' mode, the node will automatically determine the type of sorting based on the column types for all columns until a 'number' column is reached.
  • 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getComponent(ca.phon.opgraph.app.GraphDocument document)
     
     
     
    void
     
    void
    operate(ca.phon.opgraph.OpContext context)
     

    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

    Methods inherited from class java.lang.Object

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

    • SortNode

      public SortNode()
  • 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
    • getSortSettings

      public SortNodeSettings getSortSettings()
    • 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 properties)
      Specified by:
      loadSettings in interface ca.phon.opgraph.app.extensions.NodeSettings