public class ButtonLists
extends java.lang.Object
Constructor and Description |
---|
ButtonLists(@NotNull ButtonListsListener buttonListsListener)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull DoubleButtonList |
addTab(@NotNull Tab tab)
Adds a
Tab to the button list associated with the tab's
location. |
@Nullable Tab |
getActiveTab(@NotNull Location location,
boolean alternativeLocation)
|
@NotNull DoubleButtonList[] |
moveTab(@NotNull Tab tab,
@NotNull Location location)
Moves a
Tab to a new location. |
@NotNull DoubleButtonList |
toggleTabSplitMode(@NotNull Tab tab) |
public ButtonLists(@NotNull @NotNull ButtonListsListener buttonListsListener)
buttonListsListener
- the listener to notify@NotNull public @NotNull DoubleButtonList addTab(@NotNull @NotNull Tab tab)
Tab
to the button list associated with the tab's
location.tab
- the tab to add@NotNull public @NotNull DoubleButtonList[] moveTab(@NotNull @NotNull Tab tab, @NotNull @NotNull Location location)
Tab
to a new location.tab
- the tab to movelocation
- the new location@NotNull public @NotNull DoubleButtonList toggleTabSplitMode(@NotNull @NotNull Tab tab)