Class BaseSimpleGUIPane.AbstractBuilder<B extends BaseSimpleGUIPane.AbstractBuilder<B,P,C>,P extends BaseSimpleGUIPane<C,P>,C extends GUISection>

java.lang.Object
de.placeblock.betterinventories.Builder<B,P>
de.placeblock.betterinventories.content.GUISection.AbstractBuilder<B,P>
de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane.AbstractBuilder<B,P,C>
Type Parameters:
B - The Builder that implements this one
P - The BaseSimpleGUIPane that is built
C - The Sections that can be placed inside built panes BaseSimpleGUIPane
Direct Known Subclasses:
BaseAsyncGUIPane.AbstractBuilder, BaseSimpleItemGUIPane.AbstractBuilder, SimpleGUIPane.Builder
Enclosing class:
BaseSimpleGUIPane<C extends GUISection,S extends BaseSimpleGUIPane<C,S>>

public abstract static class BaseSimpleGUIPane.AbstractBuilder<B extends BaseSimpleGUIPane.AbstractBuilder<B,P,C>,P extends BaseSimpleGUIPane<C,P>,C extends GUISection> extends GUISection.AbstractBuilder<B,P>
Builder for creating BaseSimpleGUIPane
  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder(GUI gui)
      Creates a new Builder
      Parameters:
      gui - The gui this Pane belongs to
  • Method Details

    • autoSize

      public B autoSize(boolean autoSize)
      Sets the autoSize property
      Parameters:
      autoSize - Whether to automatically resize the pane according to the children. If true it will set the size to the bounding box of all children.
      Returns:
      Itself
    • isAutoSize

      protected boolean isAutoSize()
      Whether this Pane auto-sizes
      Returns:
      Whether this Pane auto-sizes