SnmpProxyColumnFactory<String>
public static class TableHelper.StringSnmpProxyColumnFactory extends Object implements SnmpProxyColumnFactory<String>
Constructor | Description |
---|---|
StringSnmpProxyColumnFactory() |
Modifier and Type | Method | Description |
---|---|---|
SnmpProxyColumn<String> |
createSnmpProxyColumn(org.snmp4j.smi.OID oid,
Class<String> valueClass,
org.snmp4j.smi.MaxAccess smiMaxAccess,
int smiSyntax,
int minWidth,
int maxWidth,
String header) |
Creates a new proxy column.
|
SnmpIndexColumn<String> |
createSnmpProxyIndexColumn(org.snmp4j.smi.OID oid,
Class<String> valueClass,
int smiSyntax,
int minWidth,
int maxWidth,
String header,
org.snmp4j.smi.SubIndexInfo smiIndexInfo) |
Creates a new index proxy column.
|
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)
SnmpProxyColumnFactory
createSnmpProxyColumn
in interface SnmpProxyColumnFactory<String>
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.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)
SnmpProxyColumnFactory
createSnmpProxyIndexColumn
in interface SnmpProxyColumnFactory<String>
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.Copyright © 2020 SNMP4J.org. All rights reserved.