com.adventnet.snmp.ui
Interface SnmpTablePanelModel

All Known Implementing Classes:
DefaultSnmpTablePanelModel

interface SnmpTablePanelModel
extends javax.swing.table.TableModel

The SnmpTablePanelModel interface specifies the methods the SnmpTablePanelUI will use to interrogate a tabular data model. The SnmpTablePanelUI can be set up to display any data model which implements the SnmpTablePanelModel interface .


Field Summary
static byte GRAPHABLE
           
static byte NONGRAPHABLE
           
 
Method Summary
 void addRow(boolean entryStatus, SnmpOID[] oidList, java.lang.String[] values)
          add an row to table with specified objectid list and value and also with the status of table whether it is an entryStatus or rowStatus.
 void addTableModelListener(javax.swing.event.TableModelListener l)
          Add a listener to the list that's notified each time a change to the data model occurs.
 int convertColumnIndexToModel(int column)
           
 int create_v3_tables()
          Create the SNMPv3 tables for authentication and privacy
 void deleteRows(int[] rows)
          deletes the rows specified with indexes.
 void fireColumnMoved(int fromIndex, int toIndex)
           
 void fireScrollBarMoved(int value)
          notify the scrollbar value to the model to adjust its column value
 java.lang.String getAuthPassword()
          Get the SNMP V3 AuthPassword
 int getAuthProtocol()
          Get the SNMP V3 AuthProtocol
 java.lang.String getCharacterEncoding()
          Get the Character Encoding being used.
 java.lang.Class getColumnClass(int columnIndex)
          Returns the class to be used as renderer and editor for the column.
 int getColumnCount()
          return the number of columns.
 int getColumnIndex(java.lang.String columnName)
           
 java.util.Vector getColumnMibNodes()
          returns the vector of mibnodes for all columns of this table
 java.lang.String getColumnName(int columnIndex)
          returns the column name.
 java.util.Vector getColumnNames()
          ruturns the vector of column names for this table
 int getColumnsPerGet()
          Get the no of columns per get
 boolean getColumnsSplit()
          Get the flag ColumnsSplit
 byte getColumnType(int columnIndex)
          returns whether column at the specified index can be graphable or not
 java.lang.String getCommunity()
          Get the SNMP target Community
 java.lang.String getContextID()
          Get the SNMP V3 contextID
 java.lang.String getContextName()
          Get the SNMP V3 Context name
 java.lang.String getDecodedInstanceStr(java.util.Vector values)
          returns the decoded instance string for the values of indexes
 void getEntriesFromNext()
          this will generate the entries of next page
 void getEntriesFromPrev()
          this will generate the entries of previous page
 void getEntriesFromRefresh()
          this will refresh the entries of current page
 void getEntriesFromStart(java.lang.String index)
          this will generate entries from the first row of the SnmpTable.
 java.lang.String getIndexField(int rowIndex)
          returns the index value for specified row
 java.util.Vector getIndexMibNodes()
          returns the vector of mibnodes for index columns of this table
 java.util.Vector getIndexNames()
          returns the vector of index names for this table
 java.lang.String getMibModules()
          Get the SNMP mibmodules
 MibOperations getMibOperations()
          To get an instance of MibOperations
 java.lang.String[][] getNotAccessibleIndex()
          get the Not Accessible Index values
 java.util.Vector getNotAccessIndexColumns()
          get the Column Names of NotAccessible Index values
 java.lang.String[] getObjectIDList()
           
 boolean getOverwriteCMI()
          Gets the overwrite compiled mibs boolean.
 int getPageNumber()
          returns the current page number.
 java.lang.String getPrincipal()
          Get the SNMP Principal
 java.lang.String getPrivPassword()
          Get the SNMP V3 PrivPassword
 int getRetries()
          Get the SNMP target retries value.
 int getRowCount()
          returns the number of rows to be displayed
 java.lang.String getSerializedMibFileName()
          Gets the name of the Serialized Mib file
 SnmpEngineTable getSnmpEngineTable()
           
 SnmpTable getSnmpTable()
           
 SnmpTablePanel getSnmpTablePanel()
           
 java.util.Vector getSnmpVarVec(int row)
          returns the vector of SnmpVar objects for the spoecified row
 int getSnmpVersion()
          Get the SNMP target SNMP Version.
 java.lang.String getTableOID()
          Get the table OID
 int getTableViewColumnCount()
          get the number of columns to be visibled in Table
 int getTableViewRowCount()
          get the number of rows to be visibled in Table
 java.lang.String getTargetHost()
          get the SNMP target hostname
 int getTargetPort()
          Get the SNMP target port number
 int getTimeout()
          Get the SNMP target timeout value
 int getTotalColumnCount()
          returns the number of columns in the SnmpTable
 USMUserTable getUSMTable()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
          returns the value for table cell at given row and column.
 java.lang.String getWriteCommunity()
          Get the SNMP target write Community to be used for set requests
 void initJdbcParams(java.lang.String driverName, java.lang.String URL, java.lang.String userName, java.lang.String passWord)
          Init Jdbc parameters for mib
 boolean isAugmentedDisplay()
          returns the status of table whether it is agugmented table or of its original table .
 boolean isAugmentedTable()
          returns whether the table is augmented one or not
 boolean isCellEditable(int rowIndex, int columnIndex)
          Returns true if the cell at specified index is editable.
 boolean isEndOfTable()
          retuerns the state whether the table is reached end of table
 boolean isEntryStatus()
          returns whether the table is having entryStatus column or rowStatus column
 boolean isGetFromIndex()
          returns true if the table values is generated from the index .
 boolean isLoadFromCompiledMibs()
          Gets the loadFromCompiledMibs boolean
 boolean isLoadFromSerializedMibs()
          Gets the loadFromSerializedMibs boolean
 boolean isLoadMibsFromDatabase()
          Gets the loadFromDatabase boolean
 boolean isOverwriteMibsInDatabase()
          Gets the overwrite mibs in Database boolean.
 boolean isReadDesc()
          Returns true if reading descriptions from compiled modules is enabled
 boolean isRetrievalMode()
          returns whether the table should be generated by getnext mode or getbulk mode.
 boolean isRowAddAndDel()
          returns whether the rows can be added and deleted
 boolean isSerializeMibs()
          Gets the serializeMibs boolean
 boolean isUpdateScrollBar()
           
 boolean isV3DatabaseFlag()
          To check whether v3 database flag is set or not
 void loadMibs(java.lang.String mibs)
          Load the mibs specified by white-space separated list of mibs.
 void prepareEntries()
          this will generate entries for table when the custom panel is disabled
 void refreshTable()
          Refresh the Table
 void removeTableModelListener(javax.swing.event.TableModelListener l)
          Remove a listener from the list that's notified each time a change to the data model occurs.
 void setAugmentedDisplay(boolean isAugmented)
          set the status of table whether it is agugmented table or of its original table .set true if the visible table is its augmented table, set returns false if it is a original table what specified in setTableOID
 void setAuthPassword(java.lang.String authPasswd)
          Set the SNMP V3 AuthPassword
 void setAuthProtocol(int authProtocol)
          Set the SNMP V3 AuthProtocol
 void setCharacterEncoding(java.lang.String enc)
          Set the Character Encoding to be used.
 void setColumnNameAt(java.lang.String name, int columnIndex)
          set the header name at the given index.
 void setColumnOrder(int columnIndex)
          it will form the entries in ascending order based on the values at specified column.
 void setColumnsPerGet(int columnsPerGet)
          Set the no of columns per get
 void setColumnsSplit(boolean split)
          Enables the Table Columns Splitting if the Split is set to true
 void setCommunity(java.lang.String c)
          Set the SNMP target Community
 void setContextID(java.lang.String contextID)
          Set the SNMP V3 contextID
 void setContextName(java.lang.String contextName)
          Set the SNMP V3 Context name
 void setDebug(boolean flag)
          Enables the Debug option if the flag is set to true
 void setEngineID(byte[] EngineID)
          Set the SNMP V3 EngineID
 void setGetFromIndex(boolean isFromIndex)
          set whether the values filled by the table should be starting with the given index or from first row in the original table.
 void setLoadFromCompiledMibs(boolean isloadFromCompiled)
          Defines whether to load mib from compiled MIBs.
 void setLoadFromSerializedMibs(boolean isloadFromSerialized)
          Method defines whether to load MIB from serialized file.
 void setLoadMibsFromDatabase(boolean flag)
          To set flag for loading mibs from database
 void setMaxRepetitions(int i)
          Set the MaxRepetitions value.
 void setMibModules(java.lang.String mibs)
          Set the SNMP mibmodules
 void setObjectIDList(java.lang.String[] s)
           
 void setOverwriteCMI(boolean overWrite)
          Defines whether to overwrite the existing compiled MIB files.
 void setOverwriteMibsInDatabase(boolean overWrite)
          Defines whether to overwrite the MIB in the DataBase.
 void setPrincipal(java.lang.String principal)
          Set the SNMP Principal
 void setPrivPassword(java.lang.String privPasswd)
          Set the SNMP V3 PrivPassword
 void setReadDesc(boolean readFlag)
          Sets the flag to read descriptions from compiled mib modules.
 void setRetries(int retries)
          Set the SNMP target retries value.
 void setRetrievalMode(boolean retrievalMode)
          set whether the table should be generated by getnext mode or getbulk mode.
 void setSerializedMibFileName(java.lang.String serialMibName)
          Method defines the name of the Serialized Mib File for saving.
 void setSerializeMibs(boolean isSerialize)
          Method defines whether to serialize the MibModule.
 void setSnmpTablePanel(SnmpTablePanel panel)
           
 void setSnmpVersion(int version)
          Set the SNMP target SNMP Version.
 void setTableOID(java.lang.String oid)
          Set the table OID
 void setTablePanelUI(SnmpTablePanelUI ui)
          set the instance of TablePanelUI
 void setTableViewColumnCount(int viewColumns)
          set the number of columns to be visibled in Table
 void setTableViewRowCount(int viewRows)
          set the number of rows to be visibled in Table
 void setTargetHost(java.lang.String host)
          set the SNMP target hostname
 void setTargetPort(int port)
          Set the SNMP target port number
 void setTimeout(int timeout)
          Set the SNMP target timeout value
 void setupCellEditor(javax.swing.JTable table)
          set the table cell editor for table
 void setV3DatabaseFlag(boolean v3Flag)
          If you need to use database support for V3 , set this flag to true.
 void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
          Sets the value at specified index.
 void setWriteCommunity(java.lang.String wcommunity)
          Set the SNMP target write Community to be used for set requests
 void stopCurrentThread(boolean st)
          To stop the thread from reading table data Not for API users.
 

Field Detail

GRAPHABLE

public static final byte GRAPHABLE

NONGRAPHABLE

public static final byte NONGRAPHABLE
Method Detail

fireScrollBarMoved

public void fireScrollBarMoved(int value)
notify the scrollbar value to the model to adjust its column value

convertColumnIndexToModel

public int convertColumnIndexToModel(int column)

addTableModelListener

public void addTableModelListener(javax.swing.event.TableModelListener l)
Add a listener to the list that's notified each time a change to the data model occurs.
Specified by:
addTableModelListener in interface javax.swing.table.TableModel
Parameters:
l - - the TableModelListener

removeTableModelListener

public void removeTableModelListener(javax.swing.event.TableModelListener l)
Remove a listener from the list that's notified each time a change to the data model occurs.
Specified by:
removeTableModelListener in interface javax.swing.table.TableModel
Parameters:
l - the TableModelListener

getColumnClass

public java.lang.Class getColumnClass(int columnIndex)
Returns the class to be used as renderer and editor for the column.
Specified by:
getColumnClass in interface javax.swing.table.TableModel

getColumnCount

public int getColumnCount()
return the number of columns.
Specified by:
getColumnCount in interface javax.swing.table.TableModel

getColumnIndex

public int getColumnIndex(java.lang.String columnName)

getColumnName

public java.lang.String getColumnName(int columnIndex)
returns the column name.
Specified by:
getColumnName in interface javax.swing.table.TableModel

getRowCount

public int getRowCount()
returns the number of rows to be displayed
Specified by:
getRowCount in interface javax.swing.table.TableModel

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)
returns the value for table cell at given row and column.
Specified by:
getValueAt in interface javax.swing.table.TableModel
Parameters:
row - index of the row
col - index of column

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Returns true if the cell at specified index is editable.
Specified by:
isCellEditable in interface javax.swing.table.TableModel

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int rowIndex,
                       int columnIndex)
Sets the value at specified index. The value can be a variable binding, or an SNMP variable, either as String or SnmpVar.
Specified by:
setValueAt in interface javax.swing.table.TableModel

setColumnNameAt

public void setColumnNameAt(java.lang.String name,
                            int columnIndex)
set the header name at the given index.
Parameters:
name - the value to be set for the header
columnIndex - the index of the header of table.

fireColumnMoved

public void fireColumnMoved(int fromIndex,
                            int toIndex)

isUpdateScrollBar

public boolean isUpdateScrollBar()

prepareEntries

public void prepareEntries()
this will generate entries for table when the custom panel is disabled

getEntriesFromStart

public void getEntriesFromStart(java.lang.String index)
this will generate entries from the first row of the SnmpTable. If GetFromIndex has been set it will generate the entries starting with the specified index.
Parameters:
index - this be used if GetFromIndex is set. the will start with this index string.

getEntriesFromNext

public void getEntriesFromNext()
this will generate the entries of next page

getEntriesFromPrev

public void getEntriesFromPrev()
this will generate the entries of previous page

getEntriesFromRefresh

public void getEntriesFromRefresh()
this will refresh the entries of current page

setColumnOrder

public void setColumnOrder(int columnIndex)
it will form the entries in ascending order based on the values at specified column.

isEntryStatus

public boolean isEntryStatus()
returns whether the table is having entryStatus column or rowStatus column
Returns:
true if it has entryStatus column, Otherwise false.

setupCellEditor

public void setupCellEditor(javax.swing.JTable table)
set the table cell editor for table

getIndexField

public java.lang.String getIndexField(int rowIndex)
returns the index value for specified row
Parameters:
rowIndex - index of the row in the table.

setGetFromIndex

public void setGetFromIndex(boolean isFromIndex)
set whether the values filled by the table should be starting with the given index or from first row in the original table.

isGetFromIndex

public boolean isGetFromIndex()
returns true if the table values is generated from the index . Otherwise returns false.

setRetrievalMode

public void setRetrievalMode(boolean retrievalMode)
set whether the table should be generated by getnext mode or getbulk mode. true is for getbulk mode and false is for getnext mode.

isRetrievalMode

public boolean isRetrievalMode()
returns whether the table should be generated by getnext mode or getbulk mode. true is for getbulk mode and false is for getnext mode.

getColumnType

public byte getColumnType(int columnIndex)
returns whether column at the specified index can be graphable or not

getTotalColumnCount

public int getTotalColumnCount()
returns the number of columns in the SnmpTable

getIndexNames

public java.util.Vector getIndexNames()
returns the vector of index names for this table

getIndexMibNodes

public java.util.Vector getIndexMibNodes()
returns the vector of mibnodes for index columns of this table

getColumnNames

public java.util.Vector getColumnNames()
ruturns the vector of column names for this table

getColumnMibNodes

public java.util.Vector getColumnMibNodes()
returns the vector of mibnodes for all columns of this table

addRow

public void addRow(boolean entryStatus,
                   SnmpOID[] oidList,
                   java.lang.String[] values)
            throws DataException
add an row to table with specified objectid list and value and also with the status of table whether it is an entryStatus or rowStatus.
Parameters:
entryStatus - which specifies whether the table is with rowStatus or entryStatus.
oidList - oidlist for the writable columns in this table
values - the values to be set to the columns in this table
Throws:
DataException - if an invalid value or oid was given

isRowAddAndDel

public boolean isRowAddAndDel()
returns whether the rows can be added and deleted

deleteRows

public void deleteRows(int[] rows)
deletes the rows specified with indexes.
Parameters:
rows - an array of int which are all indexes of rows.

getPageNumber

public int getPageNumber()
returns the current page number.

isEndOfTable

public boolean isEndOfTable()
retuerns the state whether the table is reached end of table

getSnmpVarVec

public java.util.Vector getSnmpVarVec(int row)
returns the vector of SnmpVar objects for the spoecified row

getDecodedInstanceStr

public java.lang.String getDecodedInstanceStr(java.util.Vector values)
returns the decoded instance string for the values of indexes
Parameters:
values - elements are all values for index columns for the table
Returns:
a decoded instance for thses values.

isAugmentedTable

public boolean isAugmentedTable()
returns whether the table is augmented one or not

isAugmentedDisplay

public boolean isAugmentedDisplay()
returns the status of table whether it is agugmented table or of its original table .
Returns:
true if the visible table is its augmented table, returns false if it is a original table what specified in setTableOID.

setAugmentedDisplay

public void setAugmentedDisplay(boolean isAugmented)
set the status of table whether it is agugmented table or of its original table .set true if the visible table is its augmented table, set returns false if it is a original table what specified in setTableOID

setCharacterEncoding

public void setCharacterEncoding(java.lang.String enc)
Set the Character Encoding to be used. The encoding specified will be used internally to convert String <--> byte[]. The Default value is ISO8859_1.
Parameters:
enc - The name of a character encoding. All the string encoding will be done base on this encoding.

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Get the Character Encoding being used. This encoding scheme will be used internally to convert String <--> byte[]. The Default value is ISO8859_1.
Returns:
enc The character encoding used.

setTargetHost

public void setTargetHost(java.lang.String host)
set the SNMP target hostname

getTargetHost

public java.lang.String getTargetHost()
get the SNMP target hostname

getObjectIDList

public java.lang.String[] getObjectIDList()

setObjectIDList

public void setObjectIDList(java.lang.String[] s)

setTableOID

public void setTableOID(java.lang.String oid)
                 throws DataException
Set the table OID
Throws:
DataException - is thrown if data is invalid

getTableOID

public java.lang.String getTableOID()
Get the table OID

setCommunity

public void setCommunity(java.lang.String c)
Set the SNMP target Community

getCommunity

public java.lang.String getCommunity()
Get the SNMP target Community

loadMibs

public void loadMibs(java.lang.String mibs)
              throws MibException,
                     java.io.IOException,
                     java.io.FileNotFoundException
Load the mibs specified by white-space separated list of mibs. If first SnmpTarget has been opened with applet parameter, then URLs will be used. MIB loading applies across all beans in this package, i.e. MIBs can be loaded in any of the bean instances, and will be available across all beans in this package, across the VM.
Throws:
MibException - is thrown upon parse errors.
java.io.IOException - is thrown upon IO errors.
java.io.FileNotFoundException - is thrown if the file is not found.

getSnmpVersion

public int getSnmpVersion()
Get the SNMP target SNMP Version. 0 is Version 1 (default) and 1 is Version V2C and 3 is Version V3.

setSnmpVersion

public void setSnmpVersion(int version)
Set the SNMP target SNMP Version. 0 is Version 1 (default) and 1 is Version V2C and 3 is Version V3.

setMaxRepetitions

public void setMaxRepetitions(int i)
Set the MaxRepetitions value.

getTableViewColumnCount

public int getTableViewColumnCount()
get the number of columns to be visibled in Table

setTableViewColumnCount

public void setTableViewColumnCount(int viewColumns)
set the number of columns to be visibled in Table

getTableViewRowCount

public int getTableViewRowCount()
get the number of rows to be visibled in Table

setTableViewRowCount

public void setTableViewRowCount(int viewRows)
set the number of rows to be visibled in Table

getTargetPort

public int getTargetPort()
Get the SNMP target port number

setTargetPort

public void setTargetPort(int port)
Set the SNMP target port number

getMibModules

public java.lang.String getMibModules()
Get the SNMP mibmodules

setMibModules

public void setMibModules(java.lang.String mibs)
Set the SNMP mibmodules

getWriteCommunity

public java.lang.String getWriteCommunity()
Get the SNMP target write Community to be used for set requests

setWriteCommunity

public void setWriteCommunity(java.lang.String wcommunity)
Set the SNMP target write Community to be used for set requests

getTimeout

public int getTimeout()
Get the SNMP target timeout value

setTimeout

public void setTimeout(int timeout)
Set the SNMP target timeout value

getRetries

public int getRetries()
Get the SNMP target retries value. Default is 0.

setRetries

public void setRetries(int retries)
Set the SNMP target retries value. Default is 0.

getSnmpTable

public SnmpTable getSnmpTable()

getSnmpEngineTable

public SnmpEngineTable getSnmpEngineTable()

getUSMTable

public USMUserTable getUSMTable()

getContextName

public java.lang.String getContextName()
Get the SNMP V3 Context name

setContextName

public void setContextName(java.lang.String contextName)
Set the SNMP V3 Context name

setEngineID

public void setEngineID(byte[] EngineID)
Set the SNMP V3 EngineID

getContextID

public java.lang.String getContextID()
Get the SNMP V3 contextID

setContextID

public void setContextID(java.lang.String contextID)
Set the SNMP V3 contextID

getPrincipal

public java.lang.String getPrincipal()
Get the SNMP Principal

setPrincipal

public void setPrincipal(java.lang.String principal)
Set the SNMP Principal

getAuthProtocol

public int getAuthProtocol()
Get the SNMP V3 AuthProtocol

setAuthProtocol

public void setAuthProtocol(int authProtocol)
Set the SNMP V3 AuthProtocol

getAuthPassword

public java.lang.String getAuthPassword()
Get the SNMP V3 AuthPassword

setAuthPassword

public void setAuthPassword(java.lang.String authPasswd)
Set the SNMP V3 AuthPassword

getPrivPassword

public java.lang.String getPrivPassword()
Get the SNMP V3 PrivPassword

setPrivPassword

public void setPrivPassword(java.lang.String privPasswd)
Set the SNMP V3 PrivPassword

create_v3_tables

public int create_v3_tables()
Create the SNMPv3 tables for authentication and privacy

setSerializeMibs

public void setSerializeMibs(boolean isSerialize)
Method defines whether to serialize the MibModule. This flag should be set before loading the MIBs. If this is set to true it will serialize the loaded MIBs. For ex: if RMON2-MIB is loaded, it will serialize this module along with the Imported Modules viz ., RFC1271-MIB,RFC1213-MIB,TOKEN-RING-RMON and saves it in a single file.The name of the serialized file can be set using the setSerializedMibFileName() method. In case,if serialized file name is not set,it will save the serialized file with the MIB file name along with ".ser" extention.Here, it will save it as RMON2-MIB.ser. Serialization is not supported in applets.

isSerializeMibs

public boolean isSerializeMibs()
Gets the serializeMibs boolean

setLoadFromSerializedMibs

public void setLoadFromSerializedMibs(boolean isloadFromSerialized)
Method defines whether to load MIB from serialized file. This flag should be set before loading the MIBs. If both serializeMibs and loadFromSerializedMibs is set to true, it will just try to load the MIB as a serialized file.

setLoadFromCompiledMibs

public void setLoadFromCompiledMibs(boolean isloadFromCompiled)
Defines whether to load mib from compiled MIBs. This flag should be set before loading the MIBs (By default it is set to false). If this flag is set to true, it will load from compiled file( i.e; .cmi and .cds files). For ex: RMON2-MIB is loaded, it will automatically load RMON2-MIB.cmi if it exists. otherwise it creates compiled files by parsing and then loads from it. If this flag is set to false, the mib is loaded without creating .cmi and .cds files. This is recommended in case of applets where you have security restrictions for file creation. This is slightly slower than loading from precompiled mibs. In Applets, precompiled mibs can be loaded but it cannot create/write compiled files.

If both loadFromSerializedMibs and loadFromCompiledMibs is set to true, it will just try to load the MIB as a serialized file.


setOverwriteCMI

public void setOverwriteCMI(boolean overWrite)
Defines whether to overwrite the existing compiled MIB files. NOTE: This applies only when the setLoadFromCompiledMibs is set to true.

getOverwriteCMI

public boolean getOverwriteCMI()
Gets the overwrite compiled mibs boolean. NOTE: This applies only when the setLoadFromCompiledMibs is set to true.

setReadDesc

public void setReadDesc(boolean readFlag)
Sets the flag to read descriptions from compiled mib modules. Default is true. Set it to false if you don't need the descriptions. NOTE: This applies only when the setLoadFromCompiledMibs is set to true.

isReadDesc

public boolean isReadDesc()
Returns true if reading descriptions from compiled modules is enabled

isLoadFromSerializedMibs

public boolean isLoadFromSerializedMibs()
Gets the loadFromSerializedMibs boolean

isLoadFromCompiledMibs

public boolean isLoadFromCompiledMibs()
Gets the loadFromCompiledMibs boolean

setSerializedMibFileName

public void setSerializedMibFileName(java.lang.String serialMibName)
Method defines the name of the Serialized Mib File for saving. The Serialized file will be saved with this filename in the directory from which the mib is loaded.

getSerializedMibFileName

public java.lang.String getSerializedMibFileName()
Gets the name of the Serialized Mib file

setDebug

public void setDebug(boolean flag)
Enables the Debug option if the flag is set to true

refreshTable

public void refreshTable()
Refresh the Table

setTablePanelUI

public void setTablePanelUI(SnmpTablePanelUI ui)
set the instance of TablePanelUI

getNotAccessibleIndex

public java.lang.String[][] getNotAccessibleIndex()
get the Not Accessible Index values

getNotAccessIndexColumns

public java.util.Vector getNotAccessIndexColumns()
get the Column Names of NotAccessible Index values

setColumnsSplit

public void setColumnsSplit(boolean split)
Enables the Table Columns Splitting if the Split is set to true

getColumnsSplit

public boolean getColumnsSplit()
Get the flag ColumnsSplit

getColumnsPerGet

public int getColumnsPerGet()
Get the no of columns per get

setColumnsPerGet

public void setColumnsPerGet(int columnsPerGet)
Set the no of columns per get

initJdbcParams

public void initJdbcParams(java.lang.String driverName,
                           java.lang.String URL,
                           java.lang.String userName,
                           java.lang.String passWord)
                    throws java.lang.ClassNotFoundException,
                           java.sql.SQLException
Init Jdbc parameters for mib

getMibOperations

public MibOperations getMibOperations()
To get an instance of MibOperations

setLoadMibsFromDatabase

public void setLoadMibsFromDatabase(boolean flag)
To set flag for loading mibs from database

setOverwriteMibsInDatabase

public void setOverwriteMibsInDatabase(boolean overWrite)
Defines whether to overwrite the MIB in the DataBase.

isOverwriteMibsInDatabase

public boolean isOverwriteMibsInDatabase()
Gets the overwrite mibs in Database boolean.

isLoadMibsFromDatabase

public boolean isLoadMibsFromDatabase()
Gets the loadFromDatabase boolean

isV3DatabaseFlag

public boolean isV3DatabaseFlag()
To check whether v3 database flag is set or not

setV3DatabaseFlag

public void setV3DatabaseFlag(boolean v3Flag)
If you need to use database support for V3 , set this flag to true.

stopCurrentThread

public void stopCurrentThread(boolean st)
To stop the thread from reading table data Not for API users.

getSnmpTablePanel

public SnmpTablePanel getSnmpTablePanel()

setSnmpTablePanel

public void setSnmpTablePanel(SnmpTablePanel panel)