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

org.valkyriercp.layout.LayoutBuilder Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package org.valkyriercp.layout;

import javax.swing.*;

/**
 * LayoutBuilders exist to make it easier to do component layouts. Typical usage
 * is to create an instance of the builder, add components to it, the call the
 * builder's {@link #getPanel()}method.
 */
public interface LayoutBuilder {

    /**
     * Creates and returns a JPanel with all the given components in it, using
     * the "hints" that were provided to the builder.
     *
     * @return a new JPanel with the components laid-out in it; never null
     */
    JPanel getPanel();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy