Package velox.gui.utils
Class GuiUtils
java.lang.Object
velox.gui.utils.GuiUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddoForEachComponentInPanel(JPanel panel, Consumer<Component> action) Calls action with each component in the panel including the panel itselfstatic GridBagConstraintsgetCommonGbc(int x, int y, int width) static velox.api.layer1.common.Utils.Pair<JPanel,JScrollPane> static JPanelgetResetControlPanel(GuiUtils.ResetControlPanelCallbacks callbacks, JPanel panelResetPoints, boolean isSessionStartTimeEnabled) static voidsetPanelEnabled(JPanel panel, Boolean isEnabled) Enables or disables all elements within the panel
-
Constructor Details
-
GuiUtils
public GuiUtils()
-
-
Method Details
-
setPanelEnabled
Enables or disables all elements within the panel- Parameters:
panel-isEnabled-
-
doForEachComponentInPanel
Calls action with each component in the panel including the panel itself- Parameters:
panel-action-
-
getPanelResetPoints
-
getResetControlPanel
public static JPanel getResetControlPanel(GuiUtils.ResetControlPanelCallbacks callbacks, JPanel panelResetPoints, boolean isSessionStartTimeEnabled) -
getCommonGbc
-