Class OpSupportTabConfig

java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.rss.plugins.opsupport.model.OpSupportTabConfig
All Implemented Interfaces:
AsciiSerializable, FieldAccessor, OpSupportObject, Serializable, Cloneable, Comparable, Observer, rma.lang.Modifiable

public class OpSupportTabConfig extends NamedType implements OpSupportObject
See Also:
  • Constructor Details

    • OpSupportTabConfig

      public OpSupportTabConfig()
    • OpSupportTabConfig

      public OpSupportTabConfig(OpSupportConfig osconfig, String n)
  • Method Details

    • getOSConfig

      public OpSupportConfig getOSConfig()
    • getListNoHierarchy

      public List<ActionOrScript> getListNoHierarchy()
      Specified by:
      getListNoHierarchy in interface OpSupportObject
      Returns:
    • getListHierarchy

      public List<ActionOrScript> getListHierarchy()
    • getActionsScripts

      public OpSupportActionsScripts getActionsScripts()
      Specified by:
      getActionsScripts in interface OpSupportObject
    • setList

      public void setList(List<ActionOrScript> list)
    • resetAndAddActionsOrScriptsList

      public void resetAndAddActionsOrScriptsList(List<ActionOrScript> list)
    • moveObject

      public void moveObject(ActionOrScript node, boolean moveUp)
      Specified by:
      moveObject in interface OpSupportObject
    • addObject

      public void addObject(ActionOrScript node)
      Specified by:
      addObject in interface OpSupportObject
    • removeObject

      public void removeObject(ActionOrScript node)
      Specified by:
      removeObject in interface OpSupportObject
    • resetActions

      public void resetActions()
      Specified by:
      resetActions in interface OpSupportObject
    • clearActions

      public void clearActions()
      Specified by:
      clearActions in interface OpSupportObject
    • setActionsEnabled

      public void setActionsEnabled(boolean enabled)
      Specified by:
      setActionsEnabled in interface OpSupportObject
    • getNoActionValue

      public boolean getNoActionValue()
      Specified by:
      getNoActionValue in interface OpSupportObject
    • setNoActionValue

      public void setNoActionValue(boolean b)
      Specified by:
      setNoActionValue in interface OpSupportObject
    • setModified

      public void setModified(boolean b)
      Description copied from class: NamedType
      Set the modified flag to true or false.
      Specified by:
      setModified in interface rma.lang.Modifiable
      Overrides:
      setModified in class NamedType
    • clone

      public OpSupportTabConfig clone()
      Description copied from class: NamedType
      Creates a new object of the same class as this object.
      It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No
      constructor is called.
      Overrides:
      clone in class NamedType
    • read

      public void read(BufferedReader reader) throws IOException
      Throws:
      IOException
    • write

      public void write(BufferedWriter writer)
    • getNumModelVariables

      public int getNumModelVariables()
    • getModelVariable

      public OpSupportModelVariable getModelVariable(int i)
    • getModelVariable

      public OpSupportModelVariable getModelVariable(String name)
    • addModelVariable

      public OpSupportModelVariable addModelVariable(String name)
      Parameters:
      name -
    • getOsConfig

      public OpSupportConfig getOsConfig()
      Returns:
    • getOSAltPluginData

      public OSAltPluginData getOSAltPluginData()
      Returns:
    • initCompute

      public void initCompute(RssRun rssRun)
      Parameters:
      rssRun -
    • saveData

      public boolean saveData()
      Returns:
    • refreshData

      public void refreshData()
    • computeRession

      public void computeRession(int imv, int irow)
      Parameters:
      irow -
      i -
    • deleteModelVariable

      public void deleteModelVariable(int i)
      Parameters:
      i -
    • deleteModelVariable

      public void deleteModelVariable(OpSupportModelVariable mv)
      Parameters:
      mv -
    • setOSConfig

      public void setOSConfig(OpSupportConfig newData)
      Parameters:
      newData -
    • setToObs

      public void setToObs(int imv, int irow)
      Parameters:
      irow -
      i -
    • calcLocal

      public void calcLocal(int imv, int irow)
      Parameters:
      irow -
      i -
    • clearTimeSeries

      public void clearTimeSeries(int imv, int irow, int endrow)
      Parameters:
      irow -
      i -
    • getModelVariablePosition

      public int getModelVariablePosition(OpSupportModelVariable osmv)
      return the position in the model variable list that contains the given model variable
      Parameters:
      osmv - the model variable to find
      Returns:
      the position of the model variable in _varList or -1 if it is not found
    • getModelVariableList

      public List<OpSupportModelVariable> getModelVariableList()
      Returns:
    • getActiveTSProxies

      public Vector getActiveTSProxies(Vector vec, int iotype, RssAlt alt)
      returns a vector of required input, or generated output TSRecordProxies used in the current alternative