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

org.jdesktop.swingx.painter.CheckerboardPainterBeanInfo Maven / Gradle / Ivy

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

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

/**
 * BeanInfo of CheckerboardPainter.
 *
 * @author Richard, Jan Stola
 */
public class CheckerboardPainterBeanInfo extends BeanInfoSupport {
    
    /** Creates a new instance of CheckerboardPainterBeanInfo */
    public CheckerboardPainterBeanInfo() {
        super(CheckerboardPainter.class);
    }

    @Override
    protected void initialize() {
        setPreferred(true, "darkPaint", "lightPaint", "squareSize");
        setPropertyEditor(PaintPropertyEditor.class, "darkPaint", "lightPaint");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy