Package guideme.document.flow
Class LytFlowInlineBlock
java.lang.Object
guideme.document.flow.LytFlowContent
guideme.document.flow.LytFlowInlineBlock
- All Implemented Interfaces:
InteractiveElement
,Styleable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlock()
getPreferredSize
(int lineWidth) getTooltip
(float x, float y) boolean
mouseClicked
(GuideUiHost screen, int x, int y, net.minecraft.client.input.MouseButtonInfo button, boolean doubleClick) boolean
mouseReleased
(GuideUiHost screen, int x, int y, net.minecraft.client.input.MouseButtonInfo button) static LytFlowInlineBlock
void
setAlignment
(InlineBlockAlignment alignment) void
protected void
visitChildren
(LytVisitor visitor) 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, mouseMoved
Methods inherited from interface guideme.style.Styleable
modifyHoverStyle, modifyStyle, resolveHoverStyle, resolveStyle
-
Constructor Details
-
LytFlowInlineBlock
public LytFlowInlineBlock()
-
-
Method Details
-
getBlock
-
setBlock
-
getAlignment
-
setAlignment
-
getPreferredSize
-
mouseClicked
public boolean mouseClicked(GuideUiHost screen, int x, int y, net.minecraft.client.input.MouseButtonInfo button, boolean doubleClick) - Specified by:
mouseClicked
in interfaceInteractiveElement
-
mouseReleased
public boolean mouseReleased(GuideUiHost screen, int x, int y, net.minecraft.client.input.MouseButtonInfo button) - Specified by:
mouseReleased
in interfaceInteractiveElement
-
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.
-
visitChildren
- Overrides:
visitChildren
in classLytFlowContent
-
of
-