Interface Styleable
- All Known Implementing Classes:
LytAxisBox, LytBlock, LytBox, LytDocument, LytFlowAnchor, LytFlowBreak, LytFlowContent, LytFlowInlineBlock, LytFlowLink, LytFlowSpan, LytFlowText, LytGuidebookScene, LytGuiSprite, LytHBox, LytHeading, LytImage, LytItemGrid, LytItemImage, LytList, LytListItem, LytNode, LytParagraph, LytPlaceholderBlock, LytSlot, LytSlotGrid, LytStandardRecipeBox, LytTable, LytTableCell, LytTableRow, LytThematicBreak, LytTooltipSpan, LytVBox, LytWidget
public interface Styleable
Interface implemented on layout elements that can be styled and inherit styling from their parents.
-
Method Summary
Modifier and TypeMethodDescriptiongetStyle()@Nullable Styleabledefault voidmodifyHoverStyle(Consumer<TextStyle.Builder> customizer) default voidmodifyStyle(Consumer<TextStyle.Builder> customizer) default ResolvedTextStyleresolveHoverStyle(ResolvedTextStyle baseStyle) default ResolvedTextStylevoidsetHoverStyle(TextStyle style) void