Uses of Class
net.md_5.bungee.api.chat.ComponentStyle
-
Uses of ComponentStyle in net.md_5.bungee.api.chat
Modifier and TypeMethodDescriptionComponentStyleBuilder.build()
Build theComponentStyle
using the values set in this builder.ComponentStyle.clone()
Modifier 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
Modifier 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.Modifier 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)