com.adventnet.snmp.snmp2.agent
Class SnmpProxyBeanInfo
java.lang.Object
|
+--java.beans.SimpleBeanInfo
|
+--com.adventnet.snmp.snmp2.agent.SnmpProxyBeanInfo
- public class SnmpProxyBeanInfo
- extends java.beans.SimpleBeanInfo
This class is a beaninfo for the SnmpProxy bean.
- See Also:
SnmpProxy
|
Constructor Summary |
SnmpProxyBeanInfo()
Defualt Constructor - currently does nothing. |
|
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. |
(package private) java.beans.MethodDescriptor |
regMethod(java.lang.String name)
|
| 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 |
SnmpProxyBeanInfo
public SnmpProxyBeanInfo()
- Defualt Constructor - currently does nothing.
getIcon
public java.awt.Image getIcon(int kind)
- Gets the image of the bean.
- 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.
- 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.
- Overrides:
- getMethodDescriptors in class java.beans.SimpleBeanInfo
- Returns:
- array method descriptor
method
java.beans.MethodDescriptor method(java.lang.String name)
regMethod
java.beans.MethodDescriptor regMethod(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.
- Overrides:
- getEventSetDescriptors in class java.beans.SimpleBeanInfo
- Returns:
- the event set descriptors