Class ProjectSettingsBeanInfo

  • All Implemented Interfaces:
    java.beans.BeanInfo

    public class ProjectSettingsBeanInfo
    extends SimpleSettingsBeanInfo
    BeanInfo class for ProjectSettings. This inspects annotations on the properties in ProjectSettings to produce PropertyDescriptors with proper display names and descriptions. ControlsFX's PropertySheet control uses JavaBean properties to generate the settings editor, so we need this class in order to make the properties have user-presentable names and descriptions. Another way to do this without annotations would be to hardcode a bunch of PropertyDescriptors here, but that would be error-prone (we would get no warning if we add a new setting and forget to add a descriptor here).
    • Field Summary

      • Fields inherited from interface java.beans.BeanInfo

        ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
    • Method Summary

      • Methods inherited from class java.beans.SimpleBeanInfo

        getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProjectSettingsBeanInfo

        public ProjectSettingsBeanInfo()