Class BasicErrorPaneUI.ErrorPaneLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager
    Enclosing class:
    BasicErrorPaneUI

    private final class BasicErrorPaneUI.ErrorPaneLayout
    extends java.lang.Object
    implements java.awt.LayoutManager
    Lays out the BasicErrorPaneUI components.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.JEditorPane dummy  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ErrorPaneLayout()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLayoutComponent​(java.lang.String name, java.awt.Component comp)  
      void layoutContainer​(java.awt.Container parent)  
      java.awt.Dimension minimumLayoutSize​(java.awt.Container parent)  
      java.awt.Dimension preferredLayoutSize​(java.awt.Container parent)
      The preferred size is: The width of the parent container The height necessary to show the entire message text (as long as said height does not go off the screen) plus the buttons The preferred height changes depending on whether the details are visible, or not.
      void removeLayoutComponent​(java.awt.Component comp)  
      • Methods inherited from class java.lang.Object

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

      • dummy

        private javax.swing.JEditorPane dummy
    • Constructor Detail

      • ErrorPaneLayout

        private ErrorPaneLayout()
    • Method Detail

      • addLayoutComponent

        public void addLayoutComponent​(java.lang.String name,
                                       java.awt.Component comp)
        Specified by:
        addLayoutComponent in interface java.awt.LayoutManager
      • removeLayoutComponent

        public void removeLayoutComponent​(java.awt.Component comp)
        Specified by:
        removeLayoutComponent in interface java.awt.LayoutManager
      • preferredLayoutSize

        public java.awt.Dimension preferredLayoutSize​(java.awt.Container parent)
        The preferred size is: The width of the parent container The height necessary to show the entire message text (as long as said height does not go off the screen) plus the buttons The preferred height changes depending on whether the details are visible, or not.
        Specified by:
        preferredLayoutSize in interface java.awt.LayoutManager
      • minimumLayoutSize

        public java.awt.Dimension minimumLayoutSize​(java.awt.Container parent)
        Specified by:
        minimumLayoutSize in interface java.awt.LayoutManager
      • layoutContainer

        public void layoutContainer​(java.awt.Container parent)
        Specified by:
        layoutContainer in interface java.awt.LayoutManager