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)