Package org.jdesktop.swingx.plaf.basic
Class BasicErrorPaneUI.ErrorPaneLayout
- java.lang.Object
-
- org.jdesktop.swingx.plaf.basic.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)
-
-
-
Method Detail
-
addLayoutComponent
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
- Specified by:
addLayoutComponent
in interfacejava.awt.LayoutManager
-
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent
in interfacejava.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 interfacejava.awt.LayoutManager
-
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSize
in interfacejava.awt.LayoutManager
-
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainer
in interfacejava.awt.LayoutManager
-
-