com.adventnet.snmp.snmp2.agent
Class SnmpAgentBeanInfo
java.lang.Object
|
+--java.beans.SimpleBeanInfo
|
+--com.adventnet.snmp.snmp2.agent.SnmpAgentBeanInfo
- Direct Known Subclasses:
- AccessControlSnmpAgentBeanInfo
- public class SnmpAgentBeanInfo
- extends java.beans.SimpleBeanInfo
This class is a beaninfo for the SnmpAgent.
- See Also:
SnmpAgent
|
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 |
SnmpAgentBeanInfo
public SnmpAgentBeanInfo()
- Default Constructor - currently does nothing.
getIcon
public java.awt.Image getIcon(int kind)
- Gets the image for bean.
- Overrides:
- getIcon in class java.beans.SimpleBeanInfo
- Parameters:
kind - int value
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Gets property descriptors of the bean info.
- 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.
- 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.
- Overrides:
- getEventSetDescriptors in class java.beans.SimpleBeanInfo
- Returns:
- array of event descriptors.