swingx-master/swingx-beaninfo/src/main/java/org/jdesktop/swingx/painter/PinstripePainterBeanInfo.java
package org.jdesktop.swingx.painter;

import org.jdesktop.beans.BeanInfoSupport;
import org.jdesktop.beans.editors.Paint2PropertyEditor;

/**
 * BeanInfo of PinstripePainter.
 *
 * @author Richard
 */
public class PinstripePainterBeanInfo extends BeanInfoSupport {
    
    /** Creates a new instance of PinstripePainterBeanInfo */
    public PinstripePainterBeanInfo() {
        super(PinstripePainter.class);
    }

    @Override
    protected void initialize() {
        setPreferred(true, "angle", "spacing", "paint");
        setPropertyEditor(Paint2PropertyEditor.class, "paint");
    }
}
