Uses of Class
net.md_5.bungee.api.chat.ComponentStyle
Packages that use ComponentStyle
-
Uses of ComponentStyle in net.md_5.bungee.api.chat
Methods in net.md_5.bungee.api.chat that return ComponentStyleModifier and TypeMethodDescriptionComponentStyleBuilder.build()
Build theComponentStyle
using the values set in this builder.ComponentStyle.clone()
Methods in net.md_5.bungee.api.chat with parameters of type ComponentStyleModifier and TypeMethodDescriptionvoid
BaseComponent.applyStyle
(ComponentStyle style) Apply the style from the givenComponentStyle
to this component.static ComponentStyleBuilder
ComponentStyle.builder
(ComponentStyle other) Get a newComponentStyleBuilder
with values initialized to the style values of the suppliedComponentStyle
.void
BaseComponent.setStyle
(ComponentStyle style) Set theComponentStyle
for this component.ComponentBuilder.style
(ComponentStyle style) Applies the providedComponentStyle
to the current part. -
Uses of ComponentStyle in net.md_5.bungee.chat
Methods in net.md_5.bungee.chat that return ComponentStyleModifier and TypeMethodDescriptionComponentStyleSerializer.deserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) static ComponentStyle
ComponentSerializer.deserializeStyle
(com.google.gson.JsonElement jsonElement) Deserialize a JSON element as a component style.static ComponentStyle
ComponentSerializer.deserializeStyle
(String json) Deserialize a JSON-compliant String as a component style.Methods in net.md_5.bungee.chat with parameters of type ComponentStyleModifier and TypeMethodDescriptioncom.google.gson.JsonElement
ComponentStyleSerializer.serialize
(ComponentStyle src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) static com.google.gson.JsonElement
ComponentSerializer.toJson
(ComponentStyle style) static String
ComponentSerializer.toString
(ComponentStyle style)