TableHelper.StringSnmpProxyColumnFactory
public interface SnmpProxyColumnFactory<T>
SnmpProxyColumnFactory
interface defines how index column and column proxies should be created.Modifier and Type | Method | Description |
---|---|---|
SnmpProxyColumn<T> |
createSnmpProxyColumn(org.snmp4j.smi.OID oid,
Class<T> valueClass,
org.snmp4j.smi.MaxAccess smiMaxAccess,
int smiSyntax,
int minWidth,
int maxWidth,
String header) |
Creates a new proxy column.
|
SnmpIndexColumn<T> |
createSnmpProxyIndexColumn(org.snmp4j.smi.OID oid,
Class<T> valueClass,
int smiSyntax,
int minWidth,
int maxWidth,
String header,
org.snmp4j.smi.SubIndexInfo subIndexInfo) |
Creates a new index proxy column.
|
SnmpProxyColumn<T> createSnmpProxyColumn(org.snmp4j.smi.OID oid, Class<T> valueClass, org.snmp4j.smi.MaxAccess smiMaxAccess, int smiSyntax, int minWidth, int maxWidth, String header)
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.SnmpIndexColumn<T> createSnmpProxyIndexColumn(org.snmp4j.smi.OID oid, Class<T> valueClass, int smiSyntax, int minWidth, int maxWidth, String header, org.snmp4j.smi.SubIndexInfo subIndexInfo)
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.subIndexInfo
- the description of the index.Copyright © 2020 SNMP4J.org. All rights reserved.