public class ClientViewBeanInfo
extends java.beans.SimpleBeanInfo
Constructor and Description |
---|
ClientViewBeanInfo() |
Modifier and Type | Method and Description |
---|---|
java.beans.BeanDescriptor |
getBeanDescriptor()
Gets the bean's
BeanDescriptor s. |
int |
getDefaultEventIndex()
A bean may have a "default" event that is the event that will
mostly commonly be used by human's when using the bean.
|
int |
getDefaultPropertyIndex()
A bean may have a "default" property that is the property that will
mostly commonly be initially chosen for update by human's who are
customizing the bean.
|
java.beans.EventSetDescriptor[] |
getEventSetDescriptors()
Gets the bean's
EventSetDescriptor s. |
java.beans.MethodDescriptor[] |
getMethodDescriptors()
Gets the bean's
MethodDescriptor s. |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Gets the bean's
PropertyDescriptor s. |
public java.beans.BeanDescriptor getBeanDescriptor()
BeanDescriptor
s.getBeanDescriptor
in interface java.beans.BeanInfo
getBeanDescriptor
in class java.beans.SimpleBeanInfo
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
PropertyDescriptor
s.getPropertyDescriptors
in interface java.beans.BeanInfo
getPropertyDescriptors
in class java.beans.SimpleBeanInfo
If a property is indexed, then its entry in the result array will belong to the IndexedPropertyDescriptor subclass of PropertyDescriptor. A client of getPropertyDescriptors can use "instanceof" to check if a given PropertyDescriptor is an IndexedPropertyDescriptor.
public java.beans.EventSetDescriptor[] getEventSetDescriptors()
EventSetDescriptor
s.getEventSetDescriptors
in interface java.beans.BeanInfo
getEventSetDescriptors
in class java.beans.SimpleBeanInfo
public java.beans.MethodDescriptor[] getMethodDescriptors()
MethodDescriptor
s.getMethodDescriptors
in interface java.beans.BeanInfo
getMethodDescriptors
in class java.beans.SimpleBeanInfo
public int getDefaultPropertyIndex()
getDefaultPropertyIndex
in interface java.beans.BeanInfo
getDefaultPropertyIndex
in class java.beans.SimpleBeanInfo
Returns -1 if there is no default property.
public int getDefaultEventIndex()
getDefaultEventIndex
in interface java.beans.BeanInfo
getDefaultEventIndex
in class java.beans.SimpleBeanInfo
Returns -1 if there is no default event.
Copyright © 2020 Regents of the University of California. All Rights Reserved.