Class GuiUtils

java.lang.Object
velox.gui.utils.GuiUtils

public class GuiUtils extends Object
  • Constructor Details

    • GuiUtils

      public GuiUtils()
  • Method Details

    • 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)