Class StringSelectComponent
java.lang.Object
io.github.kaktushose.jdac.dispatching.reply.Component<StringSelectComponent, net.dv8tion.jda.api.components.selections.StringSelectMenu, net.dv8tion.jda.api.components.selections.StringSelectMenu.Builder, StringSelectMenuDefinition>
io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent<StringSelectComponent, net.dv8tion.jda.api.components.selections.StringSelectMenu, net.dv8tion.jda.api.components.selections.StringSelectMenu.Builder, StringSelectMenuDefinition>
io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
- 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 StringSelectComponent
extends SelectMenuComponent<StringSelectComponent, net.dv8tion.jda.api.components.selections.StringSelectMenu, net.dv8tion.jda.api.components.selections.StringSelectMenu.Builder, StringSelectMenuDefinition>
An implementation of
Component specific to StringSelectMenu-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.components.Component
net.dv8tion.jda.api.components.Component.Type -
Field Summary
Fields inherited from class SelectMenuComponent
maxValues, minValues, placeholder -
Constructor Summary
ConstructorsConstructorDescriptionStringSelectComponent(String method, @Nullable Class<?> origin, Entry[] placeholder) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringSelectMenuDefinitionbuild(StringSelectMenuDefinition definition) defaultOptions(Collection<? extends net.dv8tion.jda.api.components.selections.SelectOption> values) defaultOptions(net.dv8tion.jda.api.components.selections.SelectOption... values) defaultValues(String... values) defaultValues(Collection<String> values) protected Class<StringSelectMenuDefinition> net.dv8tion.jda.api.components.Component.TypegetType()option(String label, String value, @Nullable String description, @Nullable net.dv8tion.jda.api.entities.emoji.Emoji emoji) selectOptions(Collection<net.dv8tion.jda.api.components.selections.SelectOption> selectOptions) selectOptions(net.dv8tion.jda.api.components.selections.SelectOption... selectOptions) Methods inherited from class SelectMenuComponent
maxValues, minValues, placeholder, requiresRangeMethods inherited from class Component
asButton, asEntitySelectMenu, asStringSelectMenu, asThumbnail, 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 net.dv8tion.jda.api.components.Component
isMessageCompatible, isModalCompatibleMethods inherited from interface net.dv8tion.jda.api.components.IComponentUnion
isUnknownComponent
-
Constructor Details
-
StringSelectComponent
-
-
Method Details
-
selectOptions
public StringSelectComponent selectOptions(Collection<net.dv8tion.jda.api.components.selections.SelectOption> selectOptions) - See Also:
-
selectOptions
public StringSelectComponent selectOptions(net.dv8tion.jda.api.components.selections.SelectOption... selectOptions) - See Also:
-
option
public StringSelectComponent option(String label, String value, @Nullable String description, @Nullable net.dv8tion.jda.api.entities.emoji.Emoji emoji) - See Also:
-
option
- See Also:
-
option
public StringSelectComponent option(String label, String value, net.dv8tion.jda.api.entities.emoji.Emoji emoji) - See Also:
-
option
- See Also:
-
defaultValues
- See Also:
-
defaultValues
- See Also:
-
defaultOptions
public StringSelectComponent defaultOptions(Collection<? extends net.dv8tion.jda.api.components.selections.SelectOption> values) - See Also:
-
defaultOptions
public StringSelectComponent defaultOptions(net.dv8tion.jda.api.components.selections.SelectOption... values) - See Also:
-
definitionClass
- Specified by:
definitionClassin classComponent<StringSelectComponent, net.dv8tion.jda.api.components.selections.StringSelectMenu, net.dv8tion.jda.api.components.selections.StringSelectMenu.Builder, StringSelectMenuDefinition>
-
getType
public net.dv8tion.jda.api.components.Component.Type getType()
-