Interface ItemComponent
-
- All Superinterfaces:
Component,SerializableData
- All Known Subinterfaces:
ActionComponent,Button,SelectMenu
public interface ItemComponent extends Component
Component which can be inserted into aLayoutComponent.- See Also:
ActionComponent,ActionRow
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.interactions.components.Component
Component.Type
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default intgetMaxPerRow()How many of these components can be added to oneActionRow.-
Methods inherited from interface net.dv8tion.jda.api.utils.data.SerializableData
toData
-
-
-
-
Method Detail
-
getMaxPerRow
default int getMaxPerRow()
How many of these components can be added to oneActionRow.- Returns:
- The maximum amount an action row can contain
-
-