Class SynchedGUIPane.Builder
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,GUIItem>
de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleItemGUIPane.AbstractBuilder<B,P>
de.placeblock.betterinventories.content.pane.impl.io.BaseIOGUIPane.Builder<SynchedGUIPane.Builder,SynchedGUIPane>
de.placeblock.betterinventories.content.pane.impl.io.SynchedGUIPane.Builder
- Enclosing class:
- SynchedGUIPane
public static class SynchedGUIPane.Builder
extends BaseIOGUIPane.Builder<SynchedGUIPane.Builder,SynchedGUIPane>
Builder for creating
SynchedGUIPane-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the instanceprotected SynchedGUIPane.Builderself()Returns the Builder instance itselftargetPane(SimpleItemGUIPane targetPane) Sets the targetPane attributeMethods inherited from class de.placeblock.betterinventories.content.pane.impl.io.BaseIOGUIPane.Builder
input, onChange, outputMethods inherited from class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane.AbstractBuilder
autoSize, isAutoSizeMethods inherited from class de.placeblock.betterinventories.content.GUISection.AbstractBuilder
adoptMinMax, getMaxSize, getMinSize, maxSize, maxSize, minSize, minSize, size, size
-
Constructor Details
-
Builder
Creates a new Builder- Parameters:
gui- The GUI this Pane belongs to
-
-
Method Details
-
targetPane
Sets the targetPane attribute- Parameters:
targetPane- The target pane to sync the items to- Returns:
- Itself
-
build
Description copied from class:BuilderBuilds the instance- Specified by:
buildin classBuilder<SynchedGUIPane.Builder,SynchedGUIPane> - Returns:
- The new instance
-
self
Description copied from class:BuilderReturns the Builder instance itself- Specified by:
selfin classBuilder<SynchedGUIPane.Builder,SynchedGUIPane> - Returns:
- the Builder instance itself
-