org.jdesktop.swingx.plaf.basic
Class BasicErrorPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.jdesktop.swingx.plaf.ErrorPaneUI
-
- org.jdesktop.swingx.plaf.basic.BasicErrorPaneUI
-
- Direct Known Subclasses:
- MacOSXErrorPaneUI
public class BasicErrorPaneUI extends ErrorPaneUI
Base implementation of theJXErrorPaneUI.
-
-
Constructor Summary
Constructors Constructor and Description BasicErrorPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.DimensioncalculatePreferredSize()Calculates default prefered size for JXErrorPane on given platform/LAF.static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)javax.swing.JDialoggetErrorDialog(java.awt.Component owner)Creates new ErrorPane wrapped in the dialog window centered at provided owner component.javax.swing.JFramegetErrorFrame(java.awt.Component owner)Creates new ErrorPane wrapped in the frame window centered at provided owner component.javax.swing.JInternalFramegetErrorInternalFrame(java.awt.Component owner)Creates new ErrorPane wrapped in the internal frame window centered at provided owner component.voidinstallUI(javax.swing.JComponent c)voiduninstallUI(javax.swing.JComponent c)
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUIin classjavax.swing.plaf.ComponentUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUIin classjavax.swing.plaf.ComponentUI
-
getErrorFrame
public javax.swing.JFrame getErrorFrame(java.awt.Component owner)
Description copied from class:ErrorPaneUICreates new ErrorPane wrapped in the frame window centered at provided owner component.- Specified by:
getErrorFramein classErrorPaneUI- Parameters:
owner- component to center created error frame at.- Returns:
- New ErrorPane instance wrapped in JFrame.
-
getErrorDialog
public javax.swing.JDialog getErrorDialog(java.awt.Component owner)
Description copied from class:ErrorPaneUICreates new ErrorPane wrapped in the dialog window centered at provided owner component.- Specified by:
getErrorDialogin classErrorPaneUI- Parameters:
owner- component to center created error dialog at.- Returns:
- New ErrorPane instance wrapped in JDialog.
-
getErrorInternalFrame
public javax.swing.JInternalFrame getErrorInternalFrame(java.awt.Component owner)
Description copied from class:ErrorPaneUICreates new ErrorPane wrapped in the internal frame window centered at provided owner component.- Specified by:
getErrorInternalFramein classErrorPaneUI- Parameters:
owner- component to center created error frame at.- Returns:
- New ErrorPane instance wrapped in JInternalFrame.
-
calculatePreferredSize
public java.awt.Dimension calculatePreferredSize()
Description copied from class:ErrorPaneUICalculates default prefered size for JXErrorPane on given platform/LAF.- Specified by:
calculatePreferredSizein classErrorPaneUI- Returns:
- Preferred size.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG