Class FoodItemListModuleWindow
java.lang.Object
com.ldtteam.blockui.UiRenderMacros
com.ldtteam.blockui.Pane
com.ldtteam.blockui.views.View
com.ldtteam.blockui.views.BOWindow
com.minecolonies.core.client.gui.AbstractWindowSkeleton
com.minecolonies.core.client.gui.AbstractBuildingWindow<IBuildingView>
com.minecolonies.core.client.gui.AbstractModuleWindow<IItemListModuleView>
com.minecolonies.core.client.gui.modules.building.ItemListModuleWindow
com.minecolonies.core.client.gui.modules.FoodItemListModuleWindow
- All Implemented Interfaces:
com.ldtteam.blockui.controls.ButtonHandler,IModuleContainer<IWindowModule>,Consumer<com.ldtteam.blockui.controls.Button>
BOWindow for all the filterable lists.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ldtteam.blockui.views.BOWindow
com.ldtteam.blockui.views.BOWindow.WindowRenderTypeNested classes/interfaces inherited from class com.ldtteam.blockui.UiRenderMacros
com.ldtteam.blockui.UiRenderMacros.ResolvedBlit -
Field Summary
Fields inherited from class com.minecolonies.core.client.gui.modules.building.ItemListModuleWindow
currentDisplayedList, groupedItemList, isInverted, resourceListFields inherited from class com.minecolonies.core.client.gui.AbstractModuleWindow
moduleViewFields inherited from class com.minecolonies.core.client.gui.AbstractBuildingWindow
buildingViewFields inherited from class com.minecolonies.core.client.gui.AbstractWindowSkeleton
buttonNextPage, buttonPrevPage, pageNum, switchViewFields inherited from class com.ldtteam.blockui.views.BOWindow
DEFAULT_HEIGHT, DEFAULT_WIDTH, lightbox, screen, windowPausesGame, windowRenderType, xmlResourceLocationFields inherited from class com.ldtteam.blockui.views.View
children, paddingFields inherited from class com.ldtteam.blockui.Pane
alignment, cursor, debugging, enabled, focus, height, hoverSource, id, lastClickedPane, mc, onHover, onHoverId, visible, wasCursorInPane, width, window, x, yFields inherited from class com.ldtteam.blockui.UiRenderMacros
HALF_BIAS -
Constructor Summary
ConstructorsConstructorDescriptionFoodItemListModuleWindow(String res, IBuildingView building, IItemListModuleView moduleView) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplySorting(List<ItemStorage> displayedList) protected voidUpdates the resource list in the GUI with the info we need.Methods inherited from class com.minecolonies.core.client.gui.modules.building.ItemListModuleWindow
onOpened, onUpdateMethods inherited from class com.minecolonies.core.client.gui.AbstractModuleWindow
setHeaderMethods inherited from class com.minecolonies.core.client.gui.AbstractBuildingWindow
setPage, shouldRenderDefaultSidebarMethods inherited from class com.minecolonies.core.client.gui.AbstractWindowSkeleton
close, doNothing, getClassType, getModules, onButtonClicked, onClosed, registerButton, registerButton, registerLayoutModule, registerModuleMethods inherited from class com.ldtteam.blockui.views.BOWindow
doesWindowPauseGame, drawSelf, getRenderType, getScreen, getXmlResourceLocation, hasLightbox, loadParams, onKeyTyped, onMouseReleased, onUnhandledKeyTyped, open, openAsLayerMethods inherited from class com.ldtteam.blockui.views.View
accumulatePosition, addChild, addChild, adjustChild, childIsVisible, click, drawHidden, drawSelfLast, findPaneByID, findPaneByType, findPaneForClick, getAccumulatedPosition, getChildren, getInteriorHeight, getInteriorWidth, mouseClickableEventHandler, mouseEventProcessor, mousePointableEventHandler, onMouseDrag, parseChildren, postAddChild, removeChild, rightClick, scrollInput, setSize, setWindowMethods inherited from class com.ldtteam.blockui.Pane
canHandleClick, clearFocus, disable, draw, drawLast, enable, findFirstPaneByType, findPaneOfTypeByID, getAlignment, getCursor, getFocus, getHeight, getHoverPane, getID, getParent, getWidth, getWindow, getX, getY, handleClick, handleHover, handleRightClick, hide, isClickable, isEnabled, isFocus, isPointInPane, isVisible, moveBy, off, on, onFocus, onFocusLost, putInside, scissorsEnd, scissorsStart, setAlignment, setCursor, setEnabled, setFocus, setFocus, setHoverPane, setID, setParentView, setPosition, setVisible, shouldDraw, show, wasCursorInPaneMethods inherited from class com.ldtteam.blockui.UiRenderMacros
blit, blit, blit, blit, blitRepeatable, blitSprite, blitSprite, drawEntity, drawLineRect, drawLineRect, drawLineRect, drawLineRectGradient, drawLineRectGradient, drawLineRectGradient, fill, fill, fillGradient, fillGradient, hLine, hLine, line, line, populateBlitTriangles, populateFillGradientTriangles, populateFillTriangles, resolveSprite, vLine, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ldtteam.blockui.controls.ButtonHandler
acceptMethods inherited from interface com.minecolonies.api.colony.modules.IModuleContainer
getFirstModuleOccurance, getModule, getModule, getModule, getModuleMatching, getModules, getModules, getModules, getModulesByType, hasModule, hasModule, hasModule
-
Constructor Details
-
FoodItemListModuleWindow
- Parameters:
res- the building res id.building- the building it belongs to.moduleView- the assigned module view.
-
-
Method Details
-
applySorting
- Overrides:
applySortingin classItemListModuleWindow
-
updateResourceList
protected void updateResourceList()Description copied from class:ItemListModuleWindowUpdates the resource list in the GUI with the info we need.- Overrides:
updateResourceListin classItemListModuleWindow
-