Uses of Class
org.javacord.api.entity.message.component.ButtonStyle
-
Packages that use ButtonStyle Package Description org.javacord.api.entity.message.component org.javacord.api.entity.message.component.internal -
-
Uses of ButtonStyle in org.javacord.api.entity.message.component
Methods in org.javacord.api.entity.message.component that return ButtonStyle Modifier and Type Method Description static ButtonStyleButtonStyle. fromId(int colorId)Parse a color value into a ButtonStyle.static ButtonStyleButtonStyle. fromName(java.lang.String name)Parse a color name into a ButtonStyle.ButtonStyleButton. getStyle()Get the button's style.static ButtonStyleButtonStyle. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ButtonStyle[]ButtonStyle. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.javacord.api.entity.message.component with parameters of type ButtonStyle Modifier and Type Method Description static ButtonButton. create(java.lang.String customId, ButtonStyle style, java.lang.String label)Create a new button with the given properties.static ButtonButton. create(java.lang.String customId, ButtonStyle style, java.lang.String label, boolean disabled)Create a new button with the given properties.static ButtonButton. create(java.lang.String customId, ButtonStyle style, java.lang.String label, java.lang.String unicodeEmoji)Create a new button with the given properties.static ButtonButton. create(java.lang.String customId, ButtonStyle style, java.lang.String label, java.lang.String unicodeEmoji, boolean disabled)Create a new button with the given properties.static ButtonButton. create(java.lang.String customId, ButtonStyle style, java.lang.String label, Emoji emoji)Create a new button with the given properties.static ButtonButton. create(java.lang.String customId, ButtonStyle style, java.lang.String label, Emoji emoji, boolean disabled)Create a new button with the given properties.static ButtonButton. create(java.lang.String customId, ButtonStyle style, Emoji emoji)Create a new button with the given properties.ButtonBuilderButtonBuilder. setStyle(ButtonStyle style)Set the button's style. -
Uses of ButtonStyle in org.javacord.api.entity.message.component.internal
Methods in org.javacord.api.entity.message.component.internal that return ButtonStyle Modifier and Type Method Description ButtonStyleButtonBuilderDelegate. getStyle()Get the button's style.Methods in org.javacord.api.entity.message.component.internal with parameters of type ButtonStyle Modifier and Type Method Description voidButtonBuilderDelegate. setStyle(ButtonStyle style)Set the button's style.
-