Class PainterPropertyEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class PainterPropertyEditor
    extends java.beans.PropertyEditorSupport
    Two parts to this property editor. The first part is a simple dropdown. The second part is a complicated UI for constructing multiple "layers" of various different Painters, including gradient painters.
    • Constructor Detail

      • PainterPropertyEditor

        public PainterPropertyEditor()
        Creates a new instance of PainterPropertyEditor
    • Method Detail

      • getValue

        public Painter getValue()
        Specified by:
        getValue in interface java.beans.PropertyEditor
        Overrides:
        getValue in class java.beans.PropertyEditorSupport
      • getJavaInitializationString

        public java.lang.String getJavaInitializationString()
        Specified by:
        getJavaInitializationString in interface java.beans.PropertyEditor
        Overrides:
        getJavaInitializationString in class java.beans.PropertyEditorSupport