Class ButtonComponent
java.lang.Object
io.github.kaktushose.jdac.dispatching.reply.Component<ButtonComponent, Button, Button, ButtonDefinition>
io.github.kaktushose.jdac.dispatching.reply.dynamic.ButtonComponent
- All Implemented Interfaces:
ActionRowChildComponent, ActionRowChildComponentUnion, Component, IComponentUnion, SectionAccessoryComponent, SectionAccessoryComponentUnion
public final class ButtonComponent
extends Component<ButtonComponent, Button, Button, ButtonDefinition>
implements SectionAccessoryComponentUnion
-
Nested Class Summary
Nested classes/interfaces inherited from interface Component
Component.Type -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionButtonComponent(String method, @Nullable Class<?> origin, Entry[] placeholder) -
Method Summary
Modifier and TypeMethodDescriptionprotected ButtonDefinitionbuild(ButtonDefinition definition) protected Class<ButtonDefinition> getType()style(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, self, stringSelect, stringSelect, withUniqueIdMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
getUniqueId, isMessageCompatible, isModalCompatibleMethods inherited from interface IComponentUnion
isUnknownComponentMethods inherited from interface 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, Button, Button, ButtonDefinition>
-
build
- Specified by:
buildin classComponent<ButtonComponent, Button, Button, ButtonDefinition>
-
getType
-
asThumbnail
- Specified by:
asThumbnailin interfaceSectionAccessoryComponentUnion- Overrides:
asThumbnailin classComponent<ButtonComponent, Button, Button, ButtonDefinition>
-