Interface ComponentStyle
- All Superinterfaces:
Buildable<ComponentStyle,ComponentStyle.Builder>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceComponentStyle.Setter<T extends ComponentStyle.Setter<T>> -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentStyle.Builderbuilder()static ComponentStyleempty()@Nullable ComponentColor@Nullable ComponentColordefault ComponentStylemerge(ComponentStyle override) static ComponentStylestyle(@Nullable ComponentColor textColor) static ComponentStylestyle(@Nullable ComponentColor textColor, @Nullable ComponentColor backColor) static ComponentStylestyle(@Nullable ComponentColor textColor, @Nullable ComponentColor backColor, Map<TextDecoration, Boolean> decorations) static ComponentStylestyle(@Nullable ComponentColor textColor, TextDecoration... decorations) static ComponentStylestyle(TextDecoration... decorations) static ComponentStylestyle(Map<TextDecoration, Boolean> decorations) default ComponentStyle.Builder
-
Method Details
-
style
static ComponentStyle style(@Nullable ComponentColor textColor, @Nullable ComponentColor backColor, Map<TextDecoration, Boolean> decorations) -
style
-
style
-
style
-
style
-
style
-
empty
-
builder
-
getTextColor
@Nullable ComponentColor getTextColor() -
getBackColor
@Nullable ComponentColor getBackColor() -
getDecorations
Map<TextDecoration,Boolean> getDecorations() -
toBuilder
- Specified by:
toBuilderin interfaceBuildable<ComponentStyle,ComponentStyle.Builder>
-
merge
-