Class StringSelectComponent
java.lang.Object
io.github.kaktushose.jdac.dispatching.reply.Component<StringSelectComponent, StringSelectMenu, StringSelectMenu.Builder, StringSelectMenuDefinition>
io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent<StringSelectComponent, StringSelectMenu, StringSelectMenu.Builder, StringSelectMenuDefinition>
io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.StringSelectComponent
- All Implemented Interfaces:
ActionRowChildComponent, ActionRowChildComponentUnion, Component, IComponentUnion, SectionAccessoryComponent, SectionAccessoryComponentUnion
public final class StringSelectComponent
extends SelectMenuComponent<StringSelectComponent, StringSelectMenu, StringSelectMenu.Builder, StringSelectMenuDefinition>
An implementation of
Component specific to StringSelectMenu-
Nested Class Summary
Nested classes/interfaces inherited from interface Component
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 SelectOption> values) defaultOptions(SelectOption... values) defaultValues(String... values) defaultValues(Collection<String> values) protected Class<StringSelectMenuDefinition> getType()selectOptions(Collection<SelectOption> selectOptions) selectOptions(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 Component
isMessageCompatible, isModalCompatibleMethods inherited from interface IComponentUnion
isUnknownComponent
-
Constructor Details
-
StringSelectComponent
-
-
Method Details
-
selectOptions
- See Also:
-
selectOptions
- See Also:
-
option
public StringSelectComponent option(String label, String value, @Nullable String description, @Nullable Emoji emoji) - See Also:
-
option
- See Also:
-
option
- See Also:
-
option
- See Also:
-
defaultValues
- See Also:
-
defaultValues
- See Also:
-
defaultOptions
- See Also:
-
defaultOptions
- See Also:
-
definitionClass
- Specified by:
definitionClassin classComponent<StringSelectComponent, StringSelectMenu, StringSelectMenu.Builder, StringSelectMenuDefinition>
-
getType
-