001 package org.jdesktop.swingx.painter; 002 003 import org.jdesktop.swingx.BeanInfoSupport; 004 import org.jdesktop.swingx.editors.ShapePropertyEditor; 005 006 /** 007 * BeanInfo of ShapePainter. 008 * 009 * @author joshy, Jan Stola 010 */ 011 public class ShapePainterBeanInfo extends BeanInfoSupport { 012 013 /** Creates a new instance of ShapePainterBeanInfo */ 014 public ShapePainterBeanInfo() { 015 super(ShapePainter.class); 016 } 017 018 protected void initialize() { 019 setPropertyEditor(ShapePropertyEditor.class, "shape"); 020 setPreferred(true, "shape"); 021 } 022 023 }