com.adventnet.snmp.ui
Interface SnmpTablePanelModel

All Superinterfaces:
javax.swing.table.TableModel
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

static final byte GRAPHABLE
See Also:
Constant Field Values

NONGRAPHABLE

static final byte NONGRAPHABLE
See Also:
Constant Field Values
Method Detail

fireScrollBarMoved

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


convertColumnIndexToModel

int convertColumnIndexToModel(int column)

addTableModelListener

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

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

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

int getColumnCount()
return the number of columns.

Specified by:
getColumnCount in interface javax.swing.table.TableModel

getColumnIndex

int getColumnIndex(java.lang.String columnName)

getColumnName

java.lang.String getColumnName(int columnIndex)
returns the column name.

Specified by:
getColumnName in interface javax.swing.table.TableModel

getRowCount

int getRowCount()
returns the number of rows to be displayed

Specified by:
getRowCount in interface javax.swing.table.TableModel

getValueAt

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

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

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

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

void fireColumnMoved(int fromIndex,
                     int toIndex)

isUpdateScrollBar

boolean isUpdateScrollBar()

prepareEntries

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


getEntriesFromStart

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

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


getEntriesFromPrev

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


getEntriesFromRefresh

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


setColumnOrder

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


isEntryStatus

boolean isEntryStatus()
returns whether the table is having entryStatus column or rowStatus column

Returns:
true if it has entryStatus column, Otherwise false.

setupCellEditor

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


getIndexField

java.lang.String getIndexField(int rowIndex)
returns the index value for specified row

Parameters:
rowIndex - index of the row in the table.

setGetFromIndex

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

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


setRetrievalMode

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

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

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


getTotalColumnCount

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


getIndexNames

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


getIndexMibNodes

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


getColumnNames

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


getColumnMibNodes

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


addRow

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

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


deleteRows

void deleteRows(int[] rows)
deletes the rows specified with indexes.

Parameters:
rows - an array of int which are all indexes of rows.

getPageNumber

int getPageNumber()
returns the current page number.


isEndOfTable

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


getSnmpVarVec

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


getDecodedInstanceStr

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

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


isAugmentedDisplay

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

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

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

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

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


getTargetHost

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


getObjectIDList

java.lang.String[] getObjectIDList()

setObjectIDList

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

setTableOID

void setTableOID(java.lang.String oid)
                 throws DataException
Set the table OID

Throws:
DataException - is thrown if data is invalid

getTableOID

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


setCommunity

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


getCommunity

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


loadMibs

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

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


setSnmpVersion

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

void setMaxRepetitions(int i)
Set the MaxRepetitions value.


getTableViewColumnCount

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


setTableViewColumnCount

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


getTableViewRowCount

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


setTableViewRowCount

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


getTargetPort

int getTargetPort()
Get the SNMP target port number


setTargetPort

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


getMibModules

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


setMibModules

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


getWriteCommunity

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


setWriteCommunity

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


getTimeout

int getTimeout()
Get the SNMP target timeout value


setTimeout

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


getRetries

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


setRetries

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


getSnmpTable

SnmpTable getSnmpTable()

getSnmpEngineTable

SnmpEngineTable getSnmpEngineTable()

getUSMTable

USMUserTable getUSMTable()

getContextName

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


setContextName

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


setEngineID

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


getContextID

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


setContextID

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


getPrincipal

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


setPrincipal

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


getAuthProtocol

int getAuthProtocol()
Get the SNMP V3 AuthProtocol


setAuthProtocol

void setAuthProtocol(int authProtocol)
Set the SNMP V3 AuthProtocol


getAuthPassword

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


setAuthPassword

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


getPrivPassword

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


setPrivPassword

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


create_v3_tables

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


setSerializeMibs

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

boolean isSerializeMibs()
Gets the serializeMibs boolean


setLoadFromSerializedMibs

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

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

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

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


setReadDesc

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

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


isLoadFromSerializedMibs

boolean isLoadFromSerializedMibs()
Gets the loadFromSerializedMibs boolean


isLoadFromCompiledMibs

boolean isLoadFromCompiledMibs()
Gets the loadFromCompiledMibs boolean


setSerializedMibFileName

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

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


setDebug

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


refreshTable

void refreshTable()
Refresh the Table


setTablePanelUI

void setTablePanelUI(SnmpTablePanelUI ui)
set the instance of TablePanelUI


getNotAccessibleIndex

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


getNotAccessIndexColumns

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


setColumnsSplit

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


getColumnsSplit

boolean getColumnsSplit()
Get the flag ColumnsSplit


getColumnsPerGet

int getColumnsPerGet()
Get the no of columns per get


setColumnsPerGet

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


initJdbcParams

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

Throws:
java.lang.ClassNotFoundException
java.sql.SQLException

getMibOperations

MibOperations getMibOperations()
To get an instance of MibOperations


setLoadMibsFromDatabase

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


setOverwriteMibsInDatabase

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


isOverwriteMibsInDatabase

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


isLoadMibsFromDatabase

boolean isLoadMibsFromDatabase()
Gets the loadFromDatabase boolean


isV3DatabaseFlag

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


setV3DatabaseFlag

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


stopCurrentThread

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


getSnmpTablePanel

SnmpTablePanel getSnmpTablePanel()

setSnmpTablePanel

void setSnmpTablePanel(SnmpTablePanel panel)