001 /* 002 * PinstripePainterBeanInfo.java 003 * 004 * Created on March 21, 2006, 12:10 PM 005 * 006 * To change this template, choose Tools | Template Manager 007 * and open the template in the editor. 008 */ 009 010 package org.jdesktop.swingx.painter; 011 012 import org.jdesktop.swingx.BeanInfoSupport; 013 import org.jdesktop.swingx.editors.PaintPropertyEditor; 014 015 /** 016 * 017 * @author Richard 018 */ 019 public class PinstripePainterBeanInfo extends BeanInfoSupport { 020 021 /** Creates a new instance of PinstripePainterBeanInfo */ 022 public PinstripePainterBeanInfo() { 023 super(PinstripePainter.class); 024 } 025 026 protected void initialize() { 027 setPreferred(true, "angle", "spacing", "paint"); 028 setHidden(true, "class", "propertyChangeListeners", "image"); 029 setPropertyEditor(PaintPropertyEditor.class, "paint"); 030 } 031 }