com.adventnet.snmp.snmp2.agent
Class SnmpTrapServiceBeanInfo

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

public class SnmpTrapServiceBeanInfo
extends java.beans.SimpleBeanInfo

This class is a beaninfo for the SnmpTrapService bean.

See Also:
SnmpTrapService

Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
SnmpTrapServiceBeanInfo()
           
 
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()
          Gets the method descriptors of the bean info.
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          Gets property descriptors of the bean info.
(package private)  java.beans.MethodDescriptor getRequestEvent()
           
(package private)  java.beans.MethodDescriptor getTimeticks()
           
(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

SnmpTrapServiceBeanInfo

public SnmpTrapServiceBeanInfo()
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()
Gets the method descriptors of the bean info.

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

getTimeticks

java.beans.MethodDescriptor getTimeticks()

getRequestEvent

java.beans.MethodDescriptor getRequestEvent()

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 - propery name .
descr - property description
Returns:
new property descriptor with given name and description
Throws:
java.beans.IntrospectionException - is thrown if Introspection fails

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.