com.elegantj.beaninfo.jfc
Class JFCComponentBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
com.elegantj.beaninfo.awt.SimpleBeanInfo
com.elegantj.beaninfo.awt.ComponentBeanInfo
com.elegantj.beaninfo.awt.ContainerBeanInfo
com.elegantj.beaninfo.jfc.JFCComponentBeanInfo
- All Implemented Interfaces:
- java.beans.BeanInfo
- Direct Known Subclasses:
- JFCListBeanInfo, JFCTableBeanInfo
- public abstract class JFCComponentBeanInfo
- extends ContainerBeanInfo
JFCComponent BeanInfo
Provides the design patterns to analyze the Swing Component
It's subclass should override the getBeanDescriptor() method .
It gives the powerful designing aspects to the bean by providing following user friendly properties
Lightweight whether the JComponent has a native window system peer
Opaque whether the JComponent paints every pixel within its rectangular bounds
ToolTipText the text to display in a tool tip for the JComponent
DoubleBuffered whether the receiving JComponent should use a buffer to paint
Autoscrolls whether the JComponent automatically scrolls its contents when dragged, if contained in a JComponent that supports scrolling
RequestFocusEnabled whether the receiving JComponent can obtain the focus by calling requestFocus
Border the border of the JComponent (none,raised bevel,lowered bevel,empty,etched,line)
| 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 |
JFCComponentBeanInfo
public JFCComponentBeanInfo()
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Denies knowledge of properties.
- Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo- Overrides:
getPropertyDescriptors in class ContainerBeanInfo
- 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.