Class SynchedGUIPane
java.lang.Object
de.placeblock.betterinventories.content.GUISection
de.placeblock.betterinventories.content.pane.GUIPane
de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane<GUIItem,S>
de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleItemGUIPane<S>
de.placeblock.betterinventories.content.pane.impl.io.BaseIOGUIPane<SynchedGUIPane>
de.placeblock.betterinventories.content.pane.impl.io.SynchedGUIPane
- All Implemented Interfaces:
Sizeable
Can be used to synchronize an IOGUIPane with another SimpleItemGUIPane
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleItemGUIPane
BaseSimpleItemGUIPane.AbstractBuilder<B extends BaseSimpleItemGUIPane.AbstractBuilder<B,P>, P extends BaseSimpleItemGUIPane<P>> Nested classes/interfaces inherited from class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
BaseSimpleGUIPane.ChildData<C extends GUISection> -
Field Summary
Fields inherited from class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
autoSize, contentFields inherited from class de.placeblock.betterinventories.content.GUISection
maxSize, minSize -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSynchedGUIPane(GUI gui, Vector2d minSize, Vector2d maxSize, boolean autoSize, boolean input, boolean output, SimpleItemGUIPane targetPane) Creates a new SynchedGUIPane -
Method Summary
Modifier and TypeMethodDescriptionvoidonItemChange(Vector2d position, org.bukkit.inventory.ItemStack itemStack) Called when an item changesMethods inherited from class de.placeblock.betterinventories.content.pane.impl.io.BaseIOGUIPane
onItemAdd, onItemAmount, onItemProvide, onItemRemoveMethods inherited from class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleItemGUIPane
flipX, flipY, getItem, getItem, shiftX, shiftYMethods inherited from class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane
addItemEmptySlot, clear, fill, getChildren, getNextEmptySlot, getSections, removeSection, removeSection, render, search, setSection, setSectionAt, setSectionAt, updateSize, updateSizeRecursiveMethods inherited from class de.placeblock.betterinventories.content.pane.GUIPane
onItemClick, onSizeChange, provideItem, renderOnList, setHeight, setSize, setWidth, updateChildrenRecursiveMethods inherited from class de.placeblock.betterinventories.content.GUISection
getEmptyContentList, getHeight, getSlots, getWidth, slotToVector, vectorToSlotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.placeblock.betterinventories.Sizeable
clampSize, getMaxSize, getMinSize, getSize
-
Constructor Details
-
SynchedGUIPane
protected SynchedGUIPane(GUI gui, Vector2d minSize, Vector2d maxSize, boolean autoSize, boolean input, boolean output, SimpleItemGUIPane targetPane) Creates a new SynchedGUIPane- Parameters:
gui- The GUIminSize- The minSizemaxSize- The maxSizetargetPane- The pane to keep in syncautoSize- Whether to autoSizeinput- Whether it should be allowed to input items into the IO-Pane.output- Whether it should be allowed to remove items from the IO-Pane.
-
-
Method Details
-
onItemChange
Description copied from class:BaseIOGUIPaneCalled when an item changes- Overrides:
onItemChangein classBaseIOGUIPane<SynchedGUIPane>- Parameters:
position- The position of the item that changeditemStack- The new ItemStack
-