java.lang.Object
overit.geocallapp.utilities.ux.ui.util.UIUtils

public class UIUtils extends Object
The class contains all the UI utility methods.
Since:
19.0
  • Method Details

    • setROAllInput

      public static void setROAllInput(Component root, boolean ro)
      Recursively sets the read-only state for all input components in the given component tree.
      Parameters:
      root - the root component to start the traversal
      ro - true to set components to read-only, false to make them editable
    • translateDateTimeFormat

      public static String translateDateTimeFormat(String format)
      Translates a date/time format.
      Parameters:
      format - the date/time format to be translated
      Returns:
      the translated format
    • getEventRow

      public static int getEventRow(UIMessage uim)
    • getEventRow

      public static int getEventRow(HashGetter event)
      Retrieves the row index
      Parameters:
      event - the HashGetter object containing event data
      Returns:
      the row index, or -1 if not found
    • addWFMComponentStyleToWindow

      public static void addWFMComponentStyleToWindow(Window w)
      Adds a WFM component style to the specified Window.

      This method injects a reference to the "wfmComponentStyle.css" stylesheet into the provided window, ensuring the appropriate styles are applied to its components.

      Parameters:
      w - the Window to which the WFM component style should be added