Documentation of 'org.jdesktop.swingx.plaf.macosx.MacOSXErrorPaneUI' Java class
MacOSXErrorPaneUI
org.jdesktop.swingx.plaf.macosx

Class MacOSXErrorPaneUI



  • public class MacOSXErrorPaneUI
    extends BasicErrorPaneUI
    Ok, the Title becomes the first line in the error dialog The text immediately follows. Then come the "Details". This is a toggle button with an icon and text but no border and no background. The icon looks like a tree toggle (arrow right or down). There is then more optional text. The best way to support this is to look in the client properties of the JXErrorPane for any "sub text". Ideally this sub text would be part of the ErrorInfo. Maybe I should just add it there? Finally come the buttons. If there is no report action and the error < fatal, the shown ok button should say "close". Otherwise, if there is no report action but the error >= fatal, it should say "Exit Application". If there is a report action but error < fatal, it should say "Don't Send" for ok, "Send Report" for the report button. If there is a report action and the error >= fatal, then one button should say "Exit", and the report button should say "Send Report and Exit". Whenever either button is clicked (ok button or report button), the "close dialog" procedure should occur.
    • Constructor Summary

      Constructors 
      Constructor and Description
      MacOSXErrorPaneUI()
      Creates a new instance of BasicErrorPanelUI
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c) 
      javax.swing.JDialog getErrorDialog(java.awt.Component owner)
      Creates new ErrorPane wrapped in the dialog window centered at provided owner component.
      javax.swing.JFrame getErrorFrame(java.awt.Component owner)
      Creates new ErrorPane wrapped in the frame window centered at provided owner component.
      javax.swing.JInternalFrame getErrorInternalFrame(java.awt.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, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MacOSXErrorPaneUI

        public MacOSXErrorPaneUI()
        Creates a new instance of BasicErrorPanelUI
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
      • getErrorFrame

        public javax.swing.JFrame getErrorFrame(java.awt.Component owner)
        Creates new ErrorPane wrapped in the frame window centered at provided owner component.
        Overrides:
        getErrorFrame in class BasicErrorPaneUI
        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)
        Creates new ErrorPane wrapped in the dialog window centered at provided owner component.
        Overrides:
        getErrorDialog in class BasicErrorPaneUI
        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)
        Creates new ErrorPane wrapped in the internal frame window centered at provided owner component.
        Overrides:
        getErrorInternalFrame in class BasicErrorPaneUI
        Parameters:
        owner - component to center created error frame at.
        Returns:
        New ErrorPane instance wrapped in JInternalFrame.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.