com.adventnet.snmp.ui
Class TrapParserEditor

java.lang.Object
  |
  +--com.adventnet.snmp.ui.TrapParserEditor

public class TrapParserEditor
extends java.lang.Object
implements java.beans.PropertyEditor

This class is a property editor for Trap Parser


Field Summary
(package private)  javax.swing.JTextField browseTxt
           
(package private)  java.util.Vector contentsVec
           
(package private)  java.lang.String fileName
           
protected  int index
           
protected  java.beans.PropertyChangeSupport listeners
           
protected  java.lang.String[] parserArray
           
(package private)  javax.swing.JList parserList
           
(package private)  java.util.Vector parserVec
           
(package private)  javax.swing.JTextField[] propTxt
           
protected  java.lang.String[] returnArray
           
protected  java.lang.Object returnObj
           
 
Constructor Summary
TrapParserEditor()
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
           
 java.lang.String getAsText()
           
 java.util.Vector getContentsVec()
           
 java.awt.Component getCustomEditor()
           
 java.lang.String getFileName()
           
 java.lang.String getJavaInitializationString()
           
 java.util.Vector getParserVec()
           
 java.lang.String[] getTags()
           
 java.lang.Object getValue()
           
 boolean isPaintable()
           
 void paintValue(java.awt.Graphics g, java.awt.Rectangle r)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void setAsText(java.lang.String s)
           
 void setValue(java.lang.Object o)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parserArray

protected java.lang.String[] parserArray

index

protected int index

returnArray

protected java.lang.String[] returnArray

returnObj

protected java.lang.Object returnObj

fileName

java.lang.String fileName

parserVec

java.util.Vector parserVec

contentsVec

java.util.Vector contentsVec

parserList

javax.swing.JList parserList

browseTxt

javax.swing.JTextField browseTxt

propTxt

javax.swing.JTextField[] propTxt

listeners

protected java.beans.PropertyChangeSupport listeners
Constructor Detail

TrapParserEditor

public TrapParserEditor()
Method Detail

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface java.beans.PropertyEditor

setValue

public void setValue(java.lang.Object o)
Specified by:
setValue in interface java.beans.PropertyEditor

getParserVec

public java.util.Vector getParserVec()

getContentsVec

public java.util.Vector getContentsVec()

getFileName

public java.lang.String getFileName()

setAsText

public void setAsText(java.lang.String s)
Specified by:
setAsText in interface java.beans.PropertyEditor

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor

getTags

public java.lang.String[] getTags()
Specified by:
getTags in interface java.beans.PropertyEditor

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor

getCustomEditor

public java.awt.Component getCustomEditor()
Specified by:
getCustomEditor in interface java.beans.PropertyEditor

isPaintable

public boolean isPaintable()
Specified by:
isPaintable in interface java.beans.PropertyEditor

paintValue

public void paintValue(java.awt.Graphics g,
                       java.awt.Rectangle r)
Specified by:
paintValue in interface java.beans.PropertyEditor

getJavaInitializationString

public java.lang.String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Specified by:
addPropertyChangeListener in interface java.beans.PropertyEditor

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Specified by:
removePropertyChangeListener in interface java.beans.PropertyEditor