All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jdesktop.swingx.border.IconBorderBeanInfo Maven / Gradle / Ivy

The newest version!
package org.jdesktop.swingx.border;

import javax.swing.SwingConstants;

import org.jdesktop.beans.BeanInfoSupport;
import org.jdesktop.beans.EnumerationValue;

/**
 * BeanInfo class for IconBorder.
 * 
 * @author Jan Stola
 */
public class IconBorderBeanInfo extends BeanInfoSupport {

	/** ctor */
    public IconBorderBeanInfo() {
        super(IconBorder.class);        
    }

    @Override
    protected void initialize() {
        setHidden(true, "class", "borderOpaque");
        setEnumerationValues(new EnumerationValue[] {
            new EnumerationValue("Leading", SwingConstants.LEADING, "SwingConstants.LEADING"),
            new EnumerationValue("Trailing", SwingConstants.TRAILING, "SwingConstants.TRAILING"),
            new EnumerationValue("East", SwingConstants.EAST, "SwingConstants.EAST"),
            new EnumerationValue("West", SwingConstants.WEST, "SwingConstants.WEST")
        }, "iconPosition");
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy