com.adventnet.snmp.mibs.agent
Class SnmpDBAdaptorBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by com.adventnet.snmp.mibs.agent.SnmpDBAdaptorBeanInfo
All Implemented Interfaces:
java.beans.BeanInfo

public class SnmpDBAdaptorBeanInfo
extends java.beans.SimpleBeanInfo

This class is a beaninfo for the SnmpDBAdaptor.

See Also:
SnmpDBAdaptor.java

Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
SnmpDBAdaptorBeanInfo()
           
 
Method Summary
 java.beans.EventSetDescriptor[] getEventSetDescriptors()
          Gets the event set descriptors of the bean.
 java.awt.Image getIcon(int kind)
          Gets the image of the bean.
 java.beans.MethodDescriptor[] getMethodDescriptors()
          to tell what are the methods available for the user during the connection wizard.
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          Gets the property descriptors of bean properties.
(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

SnmpDBAdaptorBeanInfo

public SnmpDBAdaptorBeanInfo()
Method Detail

getIcon

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

Specified by:
getIcon in interface java.beans.BeanInfo
Overrides:
getIcon in class java.beans.SimpleBeanInfo
Parameters:
kind - integer value
Returns:
the icon image.

getPropertyDescriptors

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

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

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

method

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

property

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

Parameters:
name - the name of the property method.
descr - definition about the method
Throws:
java.beans.IntrospectionException - is thrown if Introspection fails

getEventSetDescriptors

public java.beans.EventSetDescriptor[] getEventSetDescriptors()
Gets the event set descriptors of the bean.

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