com.adventnet.snmp.snmp2.agent
Class SnmpAgentBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by com.adventnet.snmp.snmp2.agent.SnmpAgentBeanInfo
All Implemented Interfaces:
java.beans.BeanInfo
Direct Known Subclasses:
AccessControlSnmpAgentBeanInfo

public class SnmpAgentBeanInfo
extends java.beans.SimpleBeanInfo

This class is a beaninfo for the SnmpAgent.

See Also:
SnmpAgent

Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
SnmpAgentBeanInfo()
          Default Constructor - currently does nothing.
 
Method Summary
 java.beans.EventSetDescriptor[] getEventSetDescriptors()
          Getter for event descriptors.
 java.awt.Image getIcon(int kind)
          Gets the image for bean.
 java.beans.MethodDescriptor[] getMethodDescriptors()
          to tell what are the methods available for the user during the connection wizard.
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          Gets property descriptors of the bean info.
(package private)  java.beans.MethodDescriptor method(java.lang.String name)
           
(package private) static java.beans.PropertyDescriptor property(java.lang.String name, java.lang.String descr)
          A convenience method.
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpAgentBeanInfo

public SnmpAgentBeanInfo()
Default Constructor - currently does nothing.

Method Detail

getIcon

public java.awt.Image getIcon(int kind)
Gets the image for bean.

Specified by:
getIcon in interface java.beans.BeanInfo
Overrides:
getIcon in class java.beans.SimpleBeanInfo
Parameters:
kind - int value

getPropertyDescriptors

public java.beans.PropertyDescriptor[] getPropertyDescriptors()
Gets property descriptors of the bean info.

Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo
Overrides:
getPropertyDescriptors in class java.beans.SimpleBeanInfo
Returns:
array of propery descriptors

getMethodDescriptors

public java.beans.MethodDescriptor[] getMethodDescriptors()
to tell what are the methods available for the user during the connection wizard.

Specified by:
getMethodDescriptors in interface java.beans.BeanInfo
Overrides:
getMethodDescriptors in class java.beans.SimpleBeanInfo
Returns:
array method descriptor

property

static java.beans.PropertyDescriptor property(java.lang.String name,
                                              java.lang.String descr)
                                       throws java.beans.IntrospectionException
A convenience method.

Parameters:
name - propery name .
descr - property description
Returns:
new property descriptor with given name and description
Throws:
java.beans.IntrospectionException - is thrown if Introspection fails

method

java.beans.MethodDescriptor method(java.lang.String name)

getEventSetDescriptors

public java.beans.EventSetDescriptor[] getEventSetDescriptors()
Getter for event descriptors.

Specified by:
getEventSetDescriptors in interface java.beans.BeanInfo
Overrides:
getEventSetDescriptors in class java.beans.SimpleBeanInfo
Returns:
array of event descriptors.