Class VarValList

java.lang.Object
org.apache.uima.pear.insd.edit.vars.VarValList

public class VarValList extends Object
Represents a list of environment variable to be displayed in a table.
  • Field Details

    • tableRows

      public Vector tableRows
      The table rows.
  • Constructor Details

    • VarValList

      public VarValList()
      Constructor.
  • Method Details

    • getTableRows

      public Vector getTableRows()
      Returns a vector of VarVal objects.
      Returns:
      the table rows
    • addTableRow

      public boolean addTableRow(VarVal tableRow)
      Adds a new table Row.
      Parameters:
      tableRow - the table row
      Returns:
      true, if successful
    • addTableRow

      public boolean addTableRow()
      Adds a sample tableRow to the table.
      Returns:
      true, if successful
    • removeTableRow

      public void removeTableRow(VarVal tableRow)
      Removes the table row.
      Parameters:
      tableRow - the table row
    • tableRowChanged

      public void tableRowChanged(VarVal tableRow)
      Notify listeners by calling their updateTableRow() method.
      Parameters:
      tableRow - the table row
    • removeChangeListener

      public void removeChangeListener(org.apache.uima.pear.insd.edit.vars.IVarValListViewer viewer)
      Removes a Change Listener.
      Parameters:
      viewer - A Chnage listener
    • addChangeListener

      public void addChangeListener(org.apache.uima.pear.insd.edit.vars.IVarValListViewer viewer)
      Adds a change listener.
      Parameters:
      viewer - the viewer