Class ButtonComponent
java.lang.Object
io.github.kaktushose.jdac.dispatching.reply.Component<ButtonComponent, net.dv8tion.jda.api.components.buttons.Button, net.dv8tion.jda.api.components.buttons.Button, ButtonDefinition>
io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
- All Implemented Interfaces:
net.dv8tion.jda.api.components.actionrow.ActionRowChildComponent, net.dv8tion.jda.api.components.actionrow.ActionRowChildComponentUnion, net.dv8tion.jda.api.components.Component, net.dv8tion.jda.api.components.IComponentUnion, net.dv8tion.jda.api.components.section.SectionAccessoryComponent, net.dv8tion.jda.api.components.section.SectionAccessoryComponentUnion
public final class ButtonComponent
extends Component<ButtonComponent, net.dv8tion.jda.api.components.buttons.Button, net.dv8tion.jda.api.components.buttons.Button, ButtonDefinition>
implements net.dv8tion.jda.api.components.section.SectionAccessoryComponentUnion
An implementation of
Component specific to Button-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.components.Component
net.dv8tion.jda.api.components.Component.Type -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionButtonComponent(String method, @Nullable Class<?> origin, Entry[] placeholder) -
Method Summary
Modifier and TypeMethodDescriptionnet.dv8tion.jda.api.components.thumbnail.Thumbnailprotected ButtonDefinitionbuild(ButtonDefinition definition) protected Class<ButtonDefinition> emoji(@Nullable net.dv8tion.jda.api.entities.emoji.Emoji emoji) net.dv8tion.jda.api.components.Component.TypegetType()style(net.dv8tion.jda.api.components.buttons.ButtonStyle style) Methods inherited from class Component
asButton, asEntitySelectMenu, asStringSelectMenu, button, button, callback, disabled, disabled, enabled, enabled, enabled, enabled, entitySelect, entitySelect, getUniqueId, independent, independent, independent, modify, name, of, of, of, origin, placeholder, row, self, stringSelect, stringSelect, withUniqueIdMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.dv8tion.jda.api.components.Component
getUniqueId, isMessageCompatible, isModalCompatibleMethods inherited from interface net.dv8tion.jda.api.components.IComponentUnion
isUnknownComponentMethods inherited from interface net.dv8tion.jda.api.components.section.SectionAccessoryComponentUnion
asButton, withUniqueId
-
Constructor Details
-
ButtonComponent
-
-
Method Details
-
emoji
- See Also:
-
style
- See Also:
-
label
- See Also:
-
url
- See Also:
-
definitionClass
- Specified by:
definitionClassin classComponent<ButtonComponent, net.dv8tion.jda.api.components.buttons.Button, net.dv8tion.jda.api.components.buttons.Button, ButtonDefinition>
-
build
- Specified by:
buildin classComponent<ButtonComponent, net.dv8tion.jda.api.components.buttons.Button, net.dv8tion.jda.api.components.buttons.Button, ButtonDefinition>
-
getType
public net.dv8tion.jda.api.components.Component.Type getType()- Specified by:
getTypein interfacenet.dv8tion.jda.api.components.Component
-
asThumbnail
public net.dv8tion.jda.api.components.thumbnail.Thumbnail asThumbnail()- Specified by:
asThumbnailin interfacenet.dv8tion.jda.api.components.section.SectionAccessoryComponentUnion- Overrides:
asThumbnailin classComponent<ButtonComponent, net.dv8tion.jda.api.components.buttons.Button, net.dv8tion.jda.api.components.buttons.Button, ButtonDefinition>
-