Class ButtonLists
- java.lang.Object
-
- net.sf.gridarta.gui.utils.tabbedpanel.ButtonLists
-
public class ButtonLists extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ButtonLists(@NotNull ButtonListsListener buttonListsListener)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull DoubleButtonListaddTab(@NotNull Tab tab)Adds aTabto the button list associated with the tab's location.@Nullable TabgetActiveTab(@NotNull Location location, boolean alternativeLocation)@NotNull DoubleButtonList @NotNull []moveTab(@NotNull Tab tab, @NotNull Location location)Moves aTabto a new location.@NotNull DoubleButtonListtoggleTabSplitMode(@NotNull Tab tab)
-
-
-
Constructor Detail
-
ButtonLists
public ButtonLists(@NotNull @NotNull ButtonListsListener buttonListsListener)Creates a new instance.- Parameters:
buttonListsListener- the listener to notify
-
-
Method Detail
-
addTab
@NotNull public @NotNull DoubleButtonList addTab(@NotNull @NotNull Tab tab)
Adds aTabto the button list associated with the tab's location.- Parameters:
tab- the tab to add- Returns:
- the button list the tab was added to
-
moveTab
@NotNull public @NotNull DoubleButtonList @NotNull [] moveTab(@NotNull @NotNull Tab tab, @NotNull @NotNull Location location)
Moves aTabto a new location.- Parameters:
tab- the tab to movelocation- the new location- Returns:
- an array consisting of two button lists the old button from which the tab has been removed from and the new button list to which the tab was added to
-
toggleTabSplitMode
@NotNull public @NotNull DoubleButtonList toggleTabSplitMode(@NotNull @NotNull Tab tab)
-
-