Interface ActionRow
-
- All Superinterfaces:
Component,HighLevelComponent,Specializable<HighLevelComponent>
public interface ActionRow extends HighLevelComponent
This interface represents an ActionRow component.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<LowLevelComponent>getComponents()Get all components of the action row.static ActionRowof(java.util.List<LowLevelComponent> lowLevelComponents)Create a new action row containing the given list with low level components, e.g.static ActionRowof(LowLevelComponent... lowLevelComponents)Create a new action row containing the given low level components, e.g.-
Methods inherited from interface org.javacord.api.entity.message.component.HighLevelComponent
asActionRow, isActionRow
-
Methods inherited from interface org.javacord.api.util.Specializable
as
-
-
-
-
Method Detail
-
getComponents
java.util.List<LowLevelComponent> getComponents()
Get all components of the action row.- Returns:
- All components of the action row.
-
of
static ActionRow of(LowLevelComponent... lowLevelComponents)
Create a new action row containing the given low level components, e.g. buttons.- Parameters:
lowLevelComponents- The low level components to add to the row.- Returns:
- the new action row builder to be used with a message
-
of
static ActionRow of(java.util.List<LowLevelComponent> lowLevelComponents)
Create a new action row containing the given list with low level components, e.g. buttons.- Parameters:
lowLevelComponents- The low level components to add to the row.- Returns:
- the new action row builder to be used with a message
-
-