Class MoveToActions
- java.lang.Object
-
- net.sf.gridarta.gui.utils.tabbedpanel.MoveToActions
-
public class MoveToActions extends java.lang.ObjectDefinesActionMethodsto move tab locations.
-
-
Constructor Summary
Constructors Constructor Description MoveToActions(@NotNull Tab tab, @NotNull TabbedPanel tabbedPanel)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTabSplitMode()Action method to query split mode.voidsetTabSplitMode(boolean splitMode)Action method set split mode.voidtabButtonMoveToBottom()Action method to move the menu toLocation.BOTTOM.voidtabButtonMoveToLeft()Action method to move the menu toLocation.LEFT.voidtabButtonMoveToRight()Action method to move the menu toLocation.RIGHT.voidtabButtonMoveToTop()Action method to move the menu toLocation.TOP.
-
-
-
Constructor Detail
-
MoveToActions
public MoveToActions(@NotNull @NotNull Tab tab, @NotNull @NotNull TabbedPanel tabbedPanel)Creates a new instance.- Parameters:
tab- the tabtabbedPanel- the tabbed panel to forward to
-
-
Method Detail
-
tabButtonMoveToTop
@ActionMethod public void tabButtonMoveToTop()
Action method to move the menu toLocation.TOP.
-
tabButtonMoveToBottom
@ActionMethod public void tabButtonMoveToBottom()
Action method to move the menu toLocation.BOTTOM.
-
tabButtonMoveToLeft
@ActionMethod public void tabButtonMoveToLeft()
Action method to move the menu toLocation.LEFT.
-
tabButtonMoveToRight
@ActionMethod public void tabButtonMoveToRight()
Action method to move the menu toLocation.RIGHT.
-
isTabSplitMode
@ActionMethod public boolean isTabSplitMode()
Action method to query split mode.- Returns:
- whether split mode is enabled
-
setTabSplitMode
@ActionMethod public void setTabSplitMode(boolean splitMode)
Action method set split mode.- Parameters:
splitMode- whether to enable split mode
-
-