001    package org.jdesktop.swingx.border;
002    
003    import javax.swing.SwingConstants;
004    import org.jdesktop.swingx.BeanInfoSupport;
005    import org.jdesktop.swingx.EnumerationValue;
006    
007    /**
008     * BeanInfo class for IconBorder.
009     * 
010     * @author Jan Stola
011     */
012    public class IconBorderBeanInfo extends BeanInfoSupport {
013    
014        public IconBorderBeanInfo() {
015            super(IconBorder.class);        
016        }
017    
018        protected void initialize() {
019            setHidden(true, "class", "borderOpaque");
020            setEnumerationValues(new EnumerationValue[] {
021                new EnumerationValue("Leading", SwingConstants.LEADING, "SwingConstants.LEADING"),
022                new EnumerationValue("Trailing", SwingConstants.TRAILING, "SwingConstants.TRAILING"),
023                new EnumerationValue("East", SwingConstants.EAST, "SwingConstants.EAST"),
024                new EnumerationValue("West", SwingConstants.WEST, "SwingConstants.WEST")
025            }, "iconPosition");
026        }
027    
028    }