Class DataDisplayConverterFactory.HDFDisplayConverter

Object
org.eclipse.nebula.widgets.nattable.data.convert.DisplayConverter
hdf.view.TableView.DataDisplayConverterFactory.HDFDisplayConverter
All Implemented Interfaces:
org.eclipse.nebula.widgets.nattable.data.convert.IDisplayConverter
Enclosing class:
DataDisplayConverterFactory

public static class DataDisplayConverterFactory.HDFDisplayConverter extends org.eclipse.nebula.widgets.nattable.data.convert.DisplayConverter
the HDF extension for data converters
  • Field Details

    • numberFormat

      the number format type
    • showAsHex

      protected boolean showAsHex
      if the data shows in hex format
    • showAsBin

      protected boolean showAsBin
      if data shows in binary format
    • isEnumConverted

      protected boolean isEnumConverted
      if the enum mapped value is shown
    • cellRowIdx

      protected int cellRowIdx
      the "container" type row index
    • cellColIdx

      protected int cellColIdx
      the "container" type column index
  • Constructor Details

  • Method Details

    • canonicalToDisplayValue

      Specified by:
      canonicalToDisplayValue in interface org.eclipse.nebula.widgets.nattable.data.convert.IDisplayConverter
      Specified by:
      canonicalToDisplayValue in class org.eclipse.nebula.widgets.nattable.data.convert.DisplayConverter
    • displayToCanonicalValue

      Specified by:
      displayToCanonicalValue in interface org.eclipse.nebula.widgets.nattable.data.convert.IDisplayConverter
      Specified by:
      displayToCanonicalValue in class org.eclipse.nebula.widgets.nattable.data.convert.DisplayConverter
    • setNumberFormat

      public void setNumberFormat(NumberFormat format)
      set the number format type
      Parameters:
      format - the data format
    • setShowAsHex

      public void setShowAsHex(boolean asHex)
      set if the data shows in hex format
      Parameters:
      asHex - if the data shows as hex format
    • setShowAsBin

      public void setShowAsBin(boolean asBin)
      set if data shows in binary format
      Parameters:
      asBin - if the data shows as binary format
    • setConvertEnum

      public void setConvertEnum(boolean convert)
      set if the enum mapped value is shown
      Parameters:
      convert - if the enum data should be converted