public class BeanLayoutManagerBeanInfo
extends java.beans.SimpleBeanInfo
BeanLayoutManager
.Constructor and Description |
---|
BeanLayoutManagerBeanInfo() |
Modifier and Type | Method and Description |
---|---|
java.awt.Image |
getIcon(int iconKind)
returns the image associated with the bean.
|
java.lang.String |
getImage16Location()
returns the location of the 16 x 16 bit image icon.
|
java.lang.String |
getImage32Location()
returns the location of the 32 x 32 bit image icon.
|
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
subclasses should NOT over-ride this method.
|
protected void |
localProperties(java.util.List ps)
direct and indirect subclasses of this bean info class should
override this method to add their property descripters to the
list generated by the super-class method.
|
protected static void |
property(java.util.List ps,
java.lang.String name,
java.lang.Class beanClass)
A convenience method to create and add a property descriptor to
a list.
|
protected static void |
property(java.util.List ps,
java.lang.String name,
java.lang.Class beanClass,
java.lang.Class editorClass)
A convenience method to create and add a property descriptor to
a list and associate an editor class with the property.
|
public java.lang.String getImage16Location()
public java.lang.String getImage32Location()
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface java.beans.BeanInfo
getPropertyDescriptors
in class java.beans.SimpleBeanInfo
protected void localProperties(java.util.List ps)
ps
- a List containing property descripters of all super
classes.public java.awt.Image getIcon(int iconKind)
getIcon
in interface java.beans.BeanInfo
getIcon
in class java.beans.SimpleBeanInfo
protected static void property(java.util.List ps, java.lang.String name, java.lang.Class beanClass)
ps
- list of property descriptorsname
- the name of the propertybeanClass
- the Bean class defining the propertyprotected static void property(java.util.List ps, java.lang.String name, java.lang.Class beanClass, java.lang.Class editorClass)
ps
- list of property descriptorsname
- the name of the propertybeanClass
- the Bean class defining the propertyeditorClass
- a class to be registered as the editor for
the specified property.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details