org.jdesktop.swingx.plaf
Class ErrorPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.jdesktop.swingx.plaf.ErrorPaneUI
Direct Known Subclasses:
BasicErrorPaneUI

public abstract class ErrorPaneUI
extends PanelUI

The ComponentUI for a JXErrorPane.


Constructor Summary
ErrorPaneUI()
           
 
Method Summary
abstract  Dimension calculatePreferredSize()
          Calculates default prefered size for JXErrorPane on given platform/LAF.
abstract  JDialog getErrorDialog(Component owner)
          Creates new ErrorPane wrapped in the dialog window centered at provided owner component.
abstract  JFrame getErrorFrame(Component owner)
          Creates new ErrorPane wrapped in the frame window centered at provided owner component.
abstract  JInternalFrame getErrorInternalFrame(Component owner)
          Creates new ErrorPane wrapped in the internal frame window centered at provided owner component.
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorPaneUI

public ErrorPaneUI()
Method Detail

getErrorFrame

public abstract JFrame getErrorFrame(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 JDialog getErrorDialog(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 JInternalFrame getErrorInternalFrame(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 Dimension calculatePreferredSize()
Calculates default prefered size for JXErrorPane on given platform/LAF.

Returns:
Preferred size.