Class PagedContainerComponent
java.lang.Object
com.render.api.gui.GuiComponent<ContainerComponent>
com.render.api.gui.ContainerComponent
com.render.api.gui.PagedContainerComponent
Virtualized retained on-screen page sequence.
Direct children flow into named page templates. PageUp/PageDown navigate while preserving retained source identity, focus ownership, and selection state. This component intentionally does not provide PDF export or operating system printing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne resolved page surface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgoToPage(int pageIndex) protected booleannextPage()protected booleanonKeyPressed(com.render.api.gui.GuiRenderContext context, int keyCode, int scanCode, int modifiers) intoverscanPages(int pages) intfloatpageGap()pageGap(float gap) pagePaint(RenderColor background, RenderColor border, RenderColor runningText) pageSize()pageSize(GuiPageSize size) removeTemplate(String name) protected voidrenderSelf(com.render.api.gui.GuiRenderContext context) template(GuiPageTemplate template) Methods inherited from class ContainerComponent
childLayout, flowColumn, flowRow, gap, layout, preferredHeight, preferredWidth, resolveBaseProperties, stackMethods inherited from class GuiComponent
activeStateStyle, add, alignContent, alignItems, alignSelf, anchor, anchorName, anchorPlacement, animatedBorder, animation, applyStyle, aspectRatio, autoHeight, autoSize, autoWidth, backdropFilters, backfaceVisibility, backgroundColor, backgroundColor, backgroundLayer, backgroundLayers, backgroundLayers, border, borderCollapse, borderColor, borderColor, borderSpacing, borderWidth, boxDecorationBreak, boxGlow, boxShadow, boxShadows, boxShadows, boxSizing, breakAfter, breakBefore, breakInside, cancel, captionSide, caretStyle, centered, childGap, childLayoutViewport, childOffsetX, childOffsetY, children, clearChildren, clipChildren, clipPath, clipsChildren, color, color, columnCount, columnFill, columnGap, columnRule, columnSpan, columnWidth, computedStyle, containsChildClipPoint, contextMenu, cornerRadius, defaultDisplay, dirtyCategories, disabled, display, emptyCells, enabled, enabled, filters, findById, findById, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, focused, focused, fragmentTree, glow, gradient, gridAutoFlow, gridPlacement, gridTemplate, handlesMouseClick, handlesMouseScroll, height, height, height, hovered, id, id, indeterminate, indeterminate, inlineStyle, inset, inset, intrinsicSize, invalidateModernLayout, isClippingChildren, justifyContent, justifyItems, justifySelf, lastInvalidationReason, layoutChildren, layoutFragments, listStyleImage, listStylePosition, listStyleType, margin, margin, margin, marginBreak, markerGap, markerSide, maskLayers, maskLayers, matchesStyleState, maxHeight, maxWidth, minHeight, minWidth, motionPath, onCharTyped, onFocusChanged, onModernLayoutComplete, onMouseClicked, onMouseDragged, onMouseReleased, onMouseScrolled, opacity, order, orphans, outline, padding, padding, padding, pageName, paint, parent, pause, play, position, position, preferredHeightForWidth, pressed, pseudoElementBox, pseudoElementStyle, quotes, rangeState, rangeState, readOnly, readOnly, remove, removeStyleClass, renderChildren, renderClippedChildren, renderOverlay, requestFocus, required, required, resume, rowGap, scrollMargin, scrollMargin, scrollSnapStop, self, shadow, shouldRouteToChildren, size, size, startingStyle, stateProvider, styleAttribute, styleAttribute, styleClass, styleClasses, styledPseudoElements, styleOpen, styleState, styleState, tabIndex, tabIndex, tableLayout, tick, tooltip, transform, transformBox, transformOrigin, transformStyle, transition, transition, transition, transition, transition, transition, transitionAll, transitionAll, transitionAll, translate, translateX, translateY, validity, validity, verticalAlign, viewTransitionName, viewTransitionName, visible, visible, widows, width, width, width, writeModernInline, writeTextShadow, writingState, x, x, y, y, zIndex
-
Constructor Details
-
PagedContainerComponent
public PagedContainerComponent()
-
-
Method Details
-
pageSize
-
pageSize
-
pageGap
-
pageGap
public float pageGap() -
template
-
removeTemplate
-
pageTemplates
-
overscanPages
-
overscanPages
public int overscanPages() -
currentPage
public int currentPage() -
pageCount
public int pageCount() -
goToPage
-
nextPage
-
previousPage
-
pageSurfaces
-
pagePaint
public PagedContainerComponent pagePaint(RenderColor background, RenderColor border, RenderColor runningText) -
isFocusable
protected boolean isFocusable()- Overrides:
isFocusablein classGuiComponent<ContainerComponent>
-
onKeyPressed
protected boolean onKeyPressed(com.render.api.gui.GuiRenderContext context, int keyCode, int scanCode, int modifiers) - Overrides:
onKeyPressedin classGuiComponent<ContainerComponent>
-
renderSelf
protected void renderSelf(com.render.api.gui.GuiRenderContext context) - Overrides:
renderSelfin classContainerComponent
-