private final class BasicErrorPaneUI.ErrorPaneLayout extends Object implements LayoutManager
Modifier and Type | Field and Description |
---|---|
private JEditorPane |
dummy |
Modifier | Constructor and Description |
---|---|
private |
ErrorPaneLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(String name,
Component comp) |
void |
layoutContainer(Container parent) |
Dimension |
minimumLayoutSize(Container parent) |
Dimension |
preferredLayoutSize(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(Component comp) |
private JEditorPane dummy
private ErrorPaneLayout()
public void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses