T
- specifies the value type of the index column.SnmpProxyColumn<T>
, SnmpProxyIndexColumn<T>
, org.snmp4j.smi.SubIndexInfo
public class SnmpIndexColumn<T> extends SnmpColumn<T> implements SnmpProxyIndexColumn<T>
SmiIndexInfo
may vary from table to table.Constructor | Description |
---|---|
SnmpIndexColumn(org.snmp4j.smi.OID oid,
Class<T> valueClass,
int smiSyntax,
int minWidth,
int maxWidth,
String header,
org.snmp4j.smi.SubIndexInfo subIndexInfo) |
Creates a index column.
|
SnmpIndexColumn(org.snmp4j.smi.OID oid,
Class<T> valueClass,
int smiSyntax,
int minWidth,
int maxWidth,
org.snmp4j.smi.SubIndexInfo subIndexInfo) |
Creates a index column.
|
SnmpIndexColumn(org.snmp4j.smi.OID oid,
Class<T> valueClass,
org.snmp4j.smi.SubIndexInfo subIndexInfo,
int smiSyntax) |
Creates a index column.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getMaxLength() |
|
int |
getMinLength() |
|
int |
getSnmpSyntax() |
|
boolean |
hasImpliedLength() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHeader, getMaxWidth, getMinWidth, getOID, getSmiMaxAccess, getSmiSyntax, getValueClass, setHeader, toString
getHeader, getMaxWidth, getMinWidth, getOID, getSmiMaxAccess, getSmiSyntax, getValueClass
public SnmpIndexColumn(org.snmp4j.smi.OID oid, Class<T> valueClass, org.snmp4j.smi.SubIndexInfo subIndexInfo, int smiSyntax)
oid
- the OID of the columnar object that represents this (sub-)index column.valueClass
- the value class of the index column's value.subIndexInfo
- the description of the indexsmiSyntax
- the SMI syntax of the index column.public SnmpIndexColumn(org.snmp4j.smi.OID oid, Class<T> valueClass, int smiSyntax, int minWidth, int maxWidth, 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.subIndexInfo
- the description of the indexpublic SnmpIndexColumn(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.public boolean hasImpliedLength()
hasImpliedLength
in interface org.snmp4j.smi.SubIndexInfo
public int getMinLength()
getMinLength
in interface org.snmp4j.smi.SubIndexInfo
public int getMaxLength()
getMaxLength
in interface org.snmp4j.smi.SubIndexInfo
public int getSnmpSyntax()
getSnmpSyntax
in interface org.snmp4j.smi.SubIndexInfo
Copyright © 2020 SNMP4J.org. All rights reserved.