Class PairedValueInfo

java.lang.Object
networkTransfer.receive.PairedValueInfo
Direct Known Subclasses:
PairedDoubleValueInfo

public class PairedValueInfo extends Object
Information for additional paired values that will get displayed in the main RXTable view.
Author:
dg50
  • Constructor Details

    • PairedValueInfo

      public PairedValueInfo(String pairName)
    • PairedValueInfo

      public PairedValueInfo(String pairName, String columnName)
    • PairedValueInfo

      public PairedValueInfo(String pairName, String columnName, Integer decimalPlaces, String unitString)
  • Method Details

    • getColumnName

      public String getColumnName()
    • setColumnName

      public void setColumnName(String columnName)
    • getTableClass

      public Class getTableClass()
      Get the class for the cell renderer in the table.
      Returns:
    • formatTableData

      public Object formatTableData(BuoyStatusDataUnit buoyStatusDataUnit, BuoyStatusValue value)
      Parameters:
      buoyStatusDataUnit -
      value -
      Returns:
    • getToolTipText

      public String getToolTipText(BuoyStatusDataUnit buoyStatusDataUnit, BuoyStatusValue value)
    • getPairName

      public String getPairName()
      Returns:
      the pairName
    • formatNumber

      public String formatNumber(Object obj, int deciPl)
    • getDecimalPlaces

      public Integer getDecimalPlaces()
      Returns:
      the decimalPlaces
    • setDecimalPlaces

      public void setDecimalPlaces(Integer decimalPlaces)
      Parameters:
      decimalPlaces - the decimalPlaces to set
    • getUnitString

      public String getUnitString()
      Returns:
      the unitString
    • setUnitString

      public void setUnitString(String unitString)
      Parameters:
      unitString - the unitString to set