Class GuiFragmentTree
java.lang.Object
com.render.api.gui.pagination.GuiFragmentTree
Immutable fragment tree projection separate from the retained source tree.
Entries stay in paint order. Identity lookup deliberately compares source instances rather than component equality.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumn(int columnIndex) fragmentsOf(GuiComponent<?> source) hitTest(float x, float y) Resolves the topmost generated fragment at a design-space point.booleanisEmpty()page(int pageIndex)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
GuiFragmentTree
-
-
Method Details
-
fragments
-
fragmentsOf
-
page
-
column
-
hitTest
Resolves the topmost generated fragment at a design-space point.Lookup walks reverse paint order and therefore provides the mapping a paginated input adapter needs before dispatching to the retained source.
- Parameters:
x- design-space x coordinatey- design-space y coordinate- Returns:
- topmost fragment containing the point
-
isEmpty
public boolean isEmpty()
-