CustomHoverElement
class CustomHoverElement
Extends: PositionedHoverElement
Package: dev.joid.lib.ui.node.hover.impl · Module: core · Source: CustomHoverElement.java
Places a tooltip element of your own at the mouse, on the node or at a fixed point.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
CustomHoverElement | follow(IHoverElement element) factory | Draws the element at the mouse. |
CustomHoverElement | fixed(IHoverElement element) factory | Draws the element from the top-left corner of the canvas. |
CustomHoverElement | relative(IHoverElement element) factory | Draws the element from the top-left corner of the hovered node. |
| CustomHoverElement(IHoverElement element, HoverElementPosition position) protected | Called by a subclass with the element and its position. |
Methods
Section titled “Methods”Inherited from PositionedHoverElement (3)
Inherited from IHoverElement (4)
Creation details
Section titled “Creation details”follow
Section titled “follow”CustomHoverElement follow(IHoverElement element) factory
Draws the element at the mouse.
CustomHoverElement fixed(IHoverElement element) factory
Draws the element from the top-left corner of the canvas.
relative
Section titled “relative”CustomHoverElement relative(IHoverElement element) factory
Draws the element from the top-left corner of the hovered node.
CustomHoverElement
Section titled “CustomHoverElement”CustomHoverElement(IHoverElement element, HoverElementPosition position) protected
Called by a subclass with the element and its position.
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
