com.elegantj.beaninfo.awt
Class ContainerBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
com.elegantj.beaninfo.awt.SimpleBeanInfo
com.elegantj.beaninfo.awt.ComponentBeanInfo
com.elegantj.beaninfo.awt.ContainerBeanInfo
- All Implemented Interfaces:
- java.beans.BeanInfo
- Direct Known Subclasses:
- JFCComponentBeanInfo
- public abstract class ContainerBeanInfo
- extends ComponentBeanInfo
Container BeanInfo
Provides the design patterns to analyze the Container
It's subclass should override the getBeanDescriptor() method .
It gives the powerful designing aspects to the bean by providing following user friendly properties
Layout the layout manager for the container (null,border,card,flow,grid,gridbag)
| Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Methods inherited from class java.beans.SimpleBeanInfo |
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, loadImage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerBeanInfo
public ContainerBeanInfo()
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Denies knowledge of properties.
- Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo- Overrides:
getPropertyDescriptors in class ComponentBeanInfo
- Returns:
- An array of PropertyDescriptor describing the editable properties supported by this bean. May return null if the information should be obtained by automatic analysis.
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.
Submit a bug or feature
Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.