Class IconProperty

    • Constructor Detail

      • IconProperty

        public IconProperty​(PropertyGroup group,
                            java.lang.String name,
                            java.lang.String description,
                            PropertyValueHandler valueHandler)
        Constructor.
        Parameters:
        group - the property group
        name - the property name
        description - the property description
        valueHandler - handles values for this property
    • Method Detail

      • set

        public void set​(java.lang.Object valueContainer,
                        javax.swing.Icon icon)
        Sets the icon value of this property in a value container.
        Parameters:
        valueContainer - the value container
        icon - the icon value
      • get

        public javax.swing.Icon get​(java.lang.Object valueContainer)
        Returns the icon value of this property in a value container.
        Parameters:
        valueContainer - the value container
        Returns:
        the icon value of this property