Class SFCMonitoringPanelBeanInfo

  • All Implemented Interfaces:
    java.beans.BeanInfo

    public class SFCMonitoringPanelBeanInfo
    extends CommonBeanInfo
    Created by carl.gould on 6/13/2014.
    • Constructor Detail

      • SFCMonitoringPanelBeanInfo

        public SFCMonitoringPanelBeanInfo()
    • Method Detail

      • getIcon

        public java.awt.Image getIcon​(int kind)
        Specified by:
        getIcon in interface java.beans.BeanInfo
        Overrides:
        getIcon in class DefaultBeanInfo
      • initProperties

        protected void initProperties()
                               throws java.beans.IntrospectionException
        Description copied from class: CommonBeanInfo

        CommonBeanInfo adds common properties, such as:

        • preferredSize (hidden, for serialization)
        • bounds (hidden, for serialization)
        • name
        • componentEnabled if the component is an EnabledEx
        • visible
        • border
        • toolTipText
        • font
        • foreground
        • background
        • opaque

        It is typical to override this function and then call super(). If you want to hide some of these functions, call removeProp with their names. After that you can add your own properties.

        Remember, only properties you add here will be serialized on your component. All properties must have proper getter/setter functions. If you need a property to be serialized but not shown, use the HIDDEN_MASK. If you want to expose a read-only bound property, use HIDDEN_MASK | BOUND_MASK.

        Overrides:
        initProperties in class CommonBeanInfo
        Throws:
        java.beans.IntrospectionException
        See Also:
        CommonBeanInfo.addCursorCode(), CommonBeanInfo.addDataQuality(), CommonBeanInfo.addVisualProps()