Class TableHelper.StringSnmpProxyColumnFactory

java.lang.Object
org.snmp4j.model.snmp.api.TableHelper.StringSnmpProxyColumnFactory
All Implemented Interfaces:
SnmpProxyColumnFactory<String>
Enclosing class:
TableHelper

public static class TableHelper.StringSnmpProxyColumnFactory extends Object implements SnmpProxyColumnFactory<String>
  • Constructor Details

    • StringSnmpProxyColumnFactory

      public StringSnmpProxyColumnFactory()
  • Method Details

    • createSnmpProxyColumn

      public SnmpProxyColumn<String> createSnmpProxyColumn(org.snmp4j.smi.OID oid, Class<String> valueClass, org.snmp4j.smi.MaxAccess smiMaxAccess, int smiSyntax, int minWidth, int maxWidth, String header)
      Description copied from interface: SnmpProxyColumnFactory
      Creates a new proxy column.
      Specified by:
      createSnmpProxyColumn in interface SnmpProxyColumnFactory<String>
      Parameters:
      oid - the object identifier of the columnar MIB object. For example, for the column ifDescr this would be new OID(1.3.6.1.2.1.2.2.1.2).
      valueClass - the class of the value representation for this column within the model.
      smiMaxAccess - the maximum access that should be supported by the model for this column (the access right should be less or equal to the maximum access right defined by the corresponding MIB).
      smiSyntax - the SMI syntax of the object.
      minWidth - the minimum width in characters of the values for this column. This servers as a hint for the column size calculation when this model is being rendered for display.
      maxWidth - the maximum width in characters of the values of this column. This servers as a hint for the column size calculation when this model is being rendered for display.
      header - the header string for this column (this value is not actually used by the proxy but can be used by a column renderer.
      Returns:
      the new proxy column.
    • createSnmpProxyIndexColumn

      public SnmpIndexColumn<String> createSnmpProxyIndexColumn(org.snmp4j.smi.OID oid, Class<String> valueClass, int smiSyntax, int minWidth, int maxWidth, String header, org.snmp4j.smi.SubIndexInfo smiIndexInfo)
      Description copied from interface: SnmpProxyColumnFactory
      Creates a new index proxy column. Index proxy columns are used for representing index sub-identifiers as columns in a model table.
      Specified by:
      createSnmpProxyIndexColumn in interface SnmpProxyColumnFactory<String>
      Parameters:
      oid - the OID of the columnar object that represents this (sub-)index column.
      valueClass - the value class of the index column's value.
      smiSyntax - the SMI syntax of the index column.
      minWidth - the minimum width in characters of the values for this column. This servers as a hint for the column size calculation when this model is being rendered for display.
      maxWidth - the maximum width in characters of the values of this column. This servers as a hint for the column size calculation when this model is being rendered for display.
      header - the header string for this column (this value is not actually used by the proxy but can be used by a column renderer.
      smiIndexInfo - the description of the index.
      Returns:
      the new index proxy column.