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