Skip to content

HoverSupplier

interface HoverSupplier
Package: dev.joid.lib.ui.node.hover · Module: core · Source: HoverSupplier.java

Function that gives the single line of a text tooltip.

Give it to Node.hover; the line is drawn by UI.drawHover.

ReturnsSignatureSummary
Stringget() abstractReturns the line to show, computed on every frame while the node is hovered; null shows no tooltip.

String get() abstract

Returns the line to show, computed on every frame while the node is hovered; null shows no tooltip.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page