Package guideme.document.flow
Class LytTooltipSpan
java.lang.Object
guideme.document.flow.LytFlowContent
guideme.document.flow.LytFlowSpan
guideme.document.flow.LytTooltipSpan
- All Implemented Interfaces:
LytFlowParent
,InteractiveElement
,LytErrorSink
,guideme.internal.siteexport.ExportableResourceProvider
,Styleable
- Direct Known Subclasses:
LytFlowLink
public class LytTooltipSpan
extends LytFlowSpan
implements InteractiveElement, guideme.internal.siteexport.ExportableResourceProvider
An inline span that allows a tooltip to be shown on hover.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exportResources
(guideme.internal.siteexport.ResourceExporter exporter) getTooltip
(float x, float y) void
setTooltip
(@Nullable GuideTooltip tooltip) Methods inherited from class guideme.document.flow.LytFlowSpan
append, getChildren, visitChildren
Methods inherited from class guideme.document.flow.LytFlowContent
getFlowParent, getHoverStyle, getParent, getStyle, getStylingParent, isInclusiveAncestor, setHoverStyle, setParent, setStyle, visit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface guideme.document.interaction.InteractiveElement
mouseCaptureLost, mouseClicked, mouseMoved, mouseReleased
Methods inherited from interface guideme.document.flow.LytFlowParent
appendBreak, appendComponent, appendError, appendText
Methods inherited from interface guideme.style.Styleable
getHoverStyle, getStyle, getStylingParent, modifyHoverStyle, modifyStyle, resolveHoverStyle, resolveStyle, setHoverStyle, setStyle
-
Constructor Details
-
LytTooltipSpan
public LytTooltipSpan()
-
-
Method Details
-
getTooltip
- Specified by:
getTooltip
in interfaceInteractiveElement
- Parameters:
x
- X position of the mouse in document coordinates.y
- Y position of the mouse in document coordinates.
-
setTooltip
-
exportResources
public void exportResources(guideme.internal.siteexport.ResourceExporter exporter) - Specified by:
exportResources
in interfaceguideme.internal.siteexport.ExportableResourceProvider
-