IT. Expert System.

Java Standard Edition (SE)

SimpleBeanInfo


java.beans

Class SimpleBeanInfo

  • All Implemented Interfaces:
    BeanInfo


    public class SimpleBeanInfo
    extends Object
    implements BeanInfo
    This is a support class to make it easier for people to provide BeanInfo classes.

    It defaults to providing "noop" information, and can be selectively overriden to provide more explicit information on chosen topics. When the introspector sees the "noop" values, it will apply low level introspection and design patterns to automatically analyze the target bean.

    • Constructor Detail

      • SimpleBeanInfo

        public SimpleBeanInfo()
    • Method Detail

      • getBeanDescriptor

        public BeanDescriptor getBeanDescriptor()
        Deny knowledge about the class and customizer of the bean. You can override this if you wish to provide explicit info.
        Specified by:
        getBeanDescriptor in interface BeanInfo
        Returns:
        a BeanDescriptor object, or null if the information is to be obtained through the automatic analysis
      • getPropertyDescriptors

        public PropertyDescriptor[] getPropertyDescriptors()
        Deny knowledge of properties. You can override this if you wish to provide explicit property info.
        Specified by:
        getPropertyDescriptors in interface BeanInfo
        Returns:
        an array of PropertyDescriptor objects, or null if the information is to be obtained through the automatic analysis
      • getDefaultPropertyIndex

        public int getDefaultPropertyIndex()
        Deny knowledge of a default property. You can override this if you wish to define a default property for the bean.
        Specified by:
        getDefaultPropertyIndex in interface BeanInfo
        Returns:
        index of the default property in the PropertyDescriptor array returned by the getPropertyDescriptors method, or -1 if there is no default property
      • getEventSetDescriptors

        public EventSetDescriptor[] getEventSetDescriptors()
        Deny knowledge of event sets. You can override this if you wish to provide explicit event set info.
        Specified by:
        getEventSetDescriptors in interface BeanInfo
        Returns:
        an array of EventSetDescriptor objects, or null if the information is to be obtained through the automatic analysis
      • getDefaultEventIndex

        public int getDefaultEventIndex()
        Deny knowledge of a default event. You can override this if you wish to define a default event for the bean.
        Specified by:
        getDefaultEventIndex in interface BeanInfo
        Returns:
        index of the default event in the EventSetDescriptor array returned by the getEventSetDescriptors method, or -1 if there is no default event
      • getMethodDescriptors

        public MethodDescriptor[] getMethodDescriptors()
        Deny knowledge of methods. You can override this if you wish to provide explicit method info.
        Specified by:
        getMethodDescriptors in interface BeanInfo
        Returns:
        an array of MethodDescriptor objects, or null if the information is to be obtained through the automatic analysis
      • getAdditionalBeanInfo

        public BeanInfo[] getAdditionalBeanInfo()
        Claim there are no other relevant BeanInfo objects. You may override this if you want to (for example) return a BeanInfo for a base class.
        Specified by:
        getAdditionalBeanInfo in interface BeanInfo
        Returns:
        an array of BeanInfo objects, or null if there are no additional BeanInfo objects
      • loadImage

        public Image loadImage(String resourceName)
        This is a utility method to help in loading icon images. It takes the name of a resource file associated with the current object's class file and loads an image object from that file. Typically images will be GIFs.

        Parameters:
        resourceName - A pathname relative to the directory holding the class file of the current class. For example, "wombat.gif".
        Returns:
        an image object. May be null if the load failed.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 183 / 159276393. Delta: 0.07695 с