Skip to main content

GuiUtils

Package: velox.gui.utils

Type: Class

Inheritance: java.lang.Object รขโ€ โ€™ velox.gui.utils.GuiUtils

Nested Classesโ€‹

GuiUtils.ResetControlPanelCallbacksโ€‹

Type: Interface

Constructorsโ€‹

GuiUtilsโ€‹

public GuiUtils()

Methodsโ€‹

setPanelEnabledโ€‹

public static void setPanelEnabled(JPanel panel, Boolean isEnabled)

Enables or disables all elements within the panel.

Parameters:

  • panel -
  • isEnabled -

doForEachComponentInPanelโ€‹

public static void doForEachComponentInPanel(JPanel panel, Consumer<Component> action)

Calls action with each component in the panel including the panel itself.

Parameters:

  • panel -
  • action -

getPanelResetPointsโ€‹

public static velox.api.layer1.common.Utils.Pair<JPanel, JScrollPane> getPanelResetPoints()

getResetControlPanelโ€‹

public static JPanel getResetControlPanel(GuiUtils.ResetControlPanelCallbacks callbacks, JPanel panelResetPoints, boolean isSessionStartTimeEnabled)

getCommonGbcโ€‹

public static GridBagConstraints getCommonGbc(int x, int y, int width)