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

org.jdesktop.swingx.JXTitledPanelBeanInfo Maven / Gradle / Ivy

Go to download

Contains extensions to the Swing GUI toolkit, including new and enhanced components that provide functionality commonly required by rich client applications.

The newest version!
package org.jdesktop.swingx;

import java.beans.BeanDescriptor;

/**
 * BeanInfo class for JXTitledPanel.
 *
 * @author Richard, Jan Stola
 */
public class JXTitledPanelBeanInfo extends BeanInfoSupport {

    public JXTitledPanelBeanInfo() {
        super(JXTitledPanel.class);
    }
    
    @Override
    protected void initialize() {
        BeanDescriptor bd = getBeanDescriptor();
        bd.setName("JXTitledPanel");
        bd.setShortDescription("A special type of Panel that has a Title section and a Content section.");
        bd.setValue("isContainer", Boolean.TRUE);
        bd.setValue("containerDelegate", "getContentContainer");
        setPreferred(true, "title", "titleFont", "titleForeground", "titlePainter");
        setPreferred(true, "leftDecoration", "rightDecoration");
        setPreferred(false, "alpha", "border", "inheritAlpha");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy