Uses of Class
org.javacord.api.entity.message.component.ComponentType
-
Packages that use ComponentType Package Description org.javacord.api.entity.message.component org.javacord.api.entity.message.component.internal org.javacord.api.interaction -
-
Uses of ComponentType in org.javacord.api.entity.message.component
Methods in org.javacord.api.entity.message.component that return ComponentType Modifier and Type Method Description static ComponentTypeComponentType. fromId(int id)Parse an integer into a ComponentType.static ComponentType[]ComponentType. getSelectMenuTypes()Gets an array with all types that are text channel types.ComponentTypeActionRowBuilder. getType()Get the type of this component (alwaysACTION_ROW).ComponentTypeButtonBuilder. getType()Get the component's type (alwaysBUTTON).ComponentTypeComponent. getType()Get the type of component.ComponentTypeComponentBuilder. getType()Get the type of component being built.ComponentTypeSelectMenuBuilder. getType()ComponentTypeTextInputBuilder. getType()Get the component's type (alwaysTEXT_INPUT).static ComponentTypeComponentType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ComponentType[]ComponentType. values()Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.javacord.api.entity.message.component with parameters of type ComponentType Constructor Description SelectMenuBuilder(ComponentType type, java.lang.String customId)Create a new SelectMenuBuilder. -
Uses of ComponentType in org.javacord.api.entity.message.component.internal
Methods in org.javacord.api.entity.message.component.internal that return ComponentType Modifier and Type Method Description ComponentTypeActionRowBuilderDelegate. getType()Get the component's type (alwaysACTION_ROW).ComponentTypeButtonBuilderDelegate. getType()Get the button's type.ComponentTypeSelectMenuBuilderDelegate. getType()Get the select menu's type.ComponentTypeTextInputBuilderDelegate. getType()Get the TextInput's type.Methods in org.javacord.api.entity.message.component.internal with parameters of type ComponentType Modifier and Type Method Description voidSelectMenuBuilderDelegate. setType(ComponentType type)Sets the type of this select menu. -
Uses of ComponentType in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return ComponentType Modifier and Type Method Description ComponentTypeMessageComponentInteractionBase. getComponentType()Get the type of the component.
-