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 oneP- The BaseSimpleGUIPane that is builtC- The Sections that can be placed inside built panesBaseSimpleGUIPane
- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoSize(boolean autoSize) Sets the autoSize propertyprotected booleanWhether this Pane auto-sizesMethods inherited from class de.placeblock.betterinventories.content.GUISection.AbstractBuilder
adoptMinMax, getMaxSize, getMinSize, maxSize, maxSize, minSize, minSize, size, size
-
Constructor Details
-
AbstractBuilder
Creates a new Builder- Parameters:
gui- The gui this Pane belongs to
-
-
Method Details
-
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
-