Package org.jdesktop.swingx.plaf
Class ErrorPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.jdesktop.swingx.plaf.ErrorPaneUI
-
- Direct Known Subclasses:
BasicErrorPaneUI
public abstract class ErrorPaneUI extends javax.swing.plaf.PanelUIThe ComponentUI for a JXErrorPane.- Author:
- rbair
-
-
Constructor Summary
Constructors Constructor Description ErrorPaneUI()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.awt.DimensioncalculatePreferredSize()Calculates default prefered size for JXErrorPane on given platform/LAF.abstract javax.swing.JDialoggetErrorDialog(java.awt.Component owner)Creates new ErrorPane wrapped in the dialog window centered at provided owner component.abstract javax.swing.JFramegetErrorFrame(java.awt.Component owner)Creates new ErrorPane wrapped in the frame window centered at provided owner component.abstract javax.swing.JInternalFramegetErrorInternalFrame(java.awt.Component owner)Creates new ErrorPane wrapped in the internal frame window centered at provided owner component.
-
-
-
Method Detail
-
getErrorFrame
public abstract javax.swing.JFrame getErrorFrame(java.awt.Component owner)
Creates new ErrorPane wrapped in the frame window centered at provided owner component.- Parameters:
owner- component to center created error frame at.- Returns:
- New ErrorPane instance wrapped in JFrame.
-
getErrorDialog
public abstract javax.swing.JDialog getErrorDialog(java.awt.Component owner)
Creates new ErrorPane wrapped in the dialog window centered at provided owner component.- Parameters:
owner- component to center created error dialog at.- Returns:
- New ErrorPane instance wrapped in JDialog.
-
getErrorInternalFrame
public abstract javax.swing.JInternalFrame getErrorInternalFrame(java.awt.Component owner)
Creates new ErrorPane wrapped in the internal frame window centered at provided owner component.- Parameters:
owner- component to center created error frame at.- Returns:
- New ErrorPane instance wrapped in JInternalFrame.
-
calculatePreferredSize
public abstract java.awt.Dimension calculatePreferredSize()
Calculates default prefered size for JXErrorPane on given platform/LAF.- Returns:
- Preferred size.
-
-