Class JDialogs


  • public class JDialogs
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JDialogs.Viewer<T extends javax.swing.JDialog>  
    • Constructor Summary

      Constructors 
      Constructor Description
      JDialogs()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends javax.swing.JDialog>
      void
      show​(java.time.Duration timeout, java.util.function.Function<javax.swing.JFrame,​T> dialogFactory)  
      static <T extends javax.swing.JDialog>
      void
      show​(java.util.function.Function<javax.swing.JFrame,​T> dialogFactory)  
      static <T extends javax.swing.JDialog>
      void
      show​(java.util.function.Function<javax.swing.JFrame,​T> dialogFactory, java.util.function.Consumer<T> afterOpenedTask)  
      static <T extends javax.swing.JDialog>
      JDialogs.Viewer<T>
      viewer​(java.util.function.Function<javax.swing.JFrame,​T> dialogFactory)  
      • Methods inherited from class java.lang.Object

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

      • JDialogs

        public JDialogs()
    • Method Detail

      • show

        public static <T extends javax.swing.JDialog> void show​(java.util.function.Function<javax.swing.JFrame,​T> dialogFactory)
      • show

        public static <T extends javax.swing.JDialog> void show​(java.time.Duration timeout,
                                                                java.util.function.Function<javax.swing.JFrame,​T> dialogFactory)
      • show

        public static <T extends javax.swing.JDialog> void show​(java.util.function.Function<javax.swing.JFrame,​T> dialogFactory,
                                                                java.util.function.Consumer<T> afterOpenedTask)
      • viewer

        public static <T extends javax.swing.JDialog> JDialogs.Viewer<T> viewer​(java.util.function.Function<javax.swing.JFrame,​T> dialogFactory)