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.
Description
Section titled “Description”Give it to Node.hover; the line is drawn by UI.drawHover.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
String | get() abstract | Returns the line to show, computed on every frame while the node is hovered; null shows no tooltip. |
Method details
Section titled “Method details”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
