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

de.placeblock.betterinventories.builder.content.SimpleGUIPaneBuilder Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package de.placeblock.betterinventories.builder.content;

import de.placeblock.betterinventories.content.pane.impl.simple.SimpleGUIPane;
import de.placeblock.betterinventories.gui.GUI;

/**
 * Builder for creating SimpleGUIPanes
 */
@SuppressWarnings("unused")
public class SimpleGUIPaneBuilder extends BaseGUIPaneBuilder {
    /**
     * Creates a new SimpleGUIPaneBuilder
     * @param gui The GUI for the Pane
     */
    public SimpleGUIPaneBuilder(GUI gui) {
        super(gui);
    }

    /**
     * Builds the Pane
     * @return The new Pane
     */
    @Override
    public SimpleGUIPane build() {
        return new SimpleGUIPane(this.getGui(), getBestMinSize(), this.getBestMaxSize());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy