Class UiUtilities


  • public class UiUtilities
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      UiUtilities()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clearError​(javax.swing.JLabel label, javax.swing.JComponent component, ErrorsPanel errorAreaOrNull)  
      static FilterableMutableTreeNode createWaitingNode()  
      static void displayError​(javax.swing.JLabel label, javax.swing.JComponent component, ErrorsPanel errorAreaOrNull, ValidationError error)  
      static boolean isMatchingNode​(java.lang.Object node, java.util.regex.Pattern pattern)  
      static void showException​(java.awt.Component parentComponent, java.lang.Throwable throwable)  
      static void showMessageAndException​(java.awt.Component parentComponent, java.lang.Throwable throwable, java.lang.String message, java.lang.String title)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UiUtilities

        public UiUtilities()
    • Method Detail

      • displayError

        public static void displayError​(javax.swing.JLabel label,
                                        javax.swing.JComponent component,
                                        ErrorsPanel errorAreaOrNull,
                                        ValidationError error)
      • clearError

        public static void clearError​(javax.swing.JLabel label,
                                      javax.swing.JComponent component,
                                      ErrorsPanel errorAreaOrNull)
      • isMatchingNode

        public static boolean isMatchingNode​(java.lang.Object node,
                                             java.util.regex.Pattern pattern)
      • showException

        public static void showException​(java.awt.Component parentComponent,
                                         java.lang.Throwable throwable)
      • showMessageAndException

        public static void showMessageAndException​(java.awt.Component parentComponent,
                                                   java.lang.Throwable throwable,
                                                   java.lang.String message,
                                                   java.lang.String title)