Class SelectMenuComponent<S extends SelectMenuComponent<S,T,B,D>, T extends net.dv8tion.jda.api.components.selections.SelectMenu, B extends net.dv8tion.jda.api.components.selections.SelectMenu.Builder<T,B>, D extends SelectMenuDefinition<T>>
java.lang.Object
io.github.kaktushose.jdac.dispatching.reply.Component<S,T,B,D>
io.github.kaktushose.jdac.dispatching.reply.dynamic.menu.SelectMenuComponent<S,T,B,D>
- Type Parameters:
S- the concrete subtype ofSelectMenuComponentT- the type ofSelectMenutheSelectMenuDefinitionrepresentsB- the type ofSelectMenu.BuilderD- the type ofSelectMenuDefinitionthisSelectMenuComponentrepresents
- 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
- Direct Known Subclasses:
EntitySelectMenuComponent, StringSelectComponent
public abstract sealed class SelectMenuComponent<S extends SelectMenuComponent<S,T,B,D>, T extends net.dv8tion.jda.api.components.selections.SelectMenu, B extends net.dv8tion.jda.api.components.selections.SelectMenu.Builder<T,B>, D extends SelectMenuDefinition<T>>
extends Component<S,T,B,D>
permits StringSelectComponent, EntitySelectMenuComponent
An implementation of Component specific to SelectMenu.
Dynamic registration of menu options is supported by EntitySelectMenuComponent and StringSelectComponent.
- See Also:
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionSelectMenuComponent(String method, @Nullable Class<?> origin, Entry[] placeholder) -
Method Summary
Modifier and TypeMethodDescriptionmaxValues(int maxValue) minValues(int minValue) placeholder(@Nullable String placeholder) requiresRange(int min, int max) Methods inherited from class Component
asButton, asEntitySelectMenu, asStringSelectMenu, build, button, button, callback, definitionClass, 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
getType, isMessageCompatible, isModalCompatibleMethods inherited from interface net.dv8tion.jda.api.components.IComponentUnion
isUnknownComponent
-
Field Details
-
placeholder
-
minValues
-
maxValues
-
-
Constructor Details
-
SelectMenuComponent
-
-
Method Details
-
placeholder
-
minValues
- See Also:
-
maxValues
- See Also:
-
requiresRange
- See Also:
-