|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.SimpleBeanInfo com.bbn.openmap.tools.beanbox.BeanLayoutManagerBeanInfo
public class BeanLayoutManagerBeanInfo
BeanInfo for a
BeanLayoutManager
.
Field Summary |
---|
Fields inherited from interface java.beans.BeanInfo |
---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
---|---|
BeanLayoutManagerBeanInfo()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.beans.SimpleBeanInfo |
---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, loadImage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanLayoutManagerBeanInfo()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |