public class MacOSXErrorPaneUI extends BasicErrorPaneUI
Modifier and Type | Field and Description |
---|---|
private JEditorPane |
disclaimerText |
private JLabel |
titleLabel |
CLASS_NAME, closeButton, copyToClipboardButton, copyToClipboardListener, detailButton, detailListener, details, detailsPanel, detailsScrollPane, errorMessage, errorPaneListener, errorScrollPane, iconLabel, pane, reportButton
Constructor and Description |
---|
MacOSXErrorPaneUI()
Creates a new instance of BasicErrorPanelUI
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureDetailsButton(boolean expanded) |
protected void |
configureReportAction(AbstractActionExt reportAction) |
protected LayoutManager |
createDetailPanelLayout() |
protected LayoutManager |
createErrorPaneLayout()
Create and return the LayoutManager to use with the error pane.
|
private void |
createExtraComponents() |
static ComponentUI |
createUI(JComponent c) |
protected int |
getDetailsHeight() |
JDialog |
getErrorDialog(Component owner)
Creates new ErrorPane wrapped in the dialog window centered at provided owner component.
|
JFrame |
getErrorFrame(Component owner)
Creates new ErrorPane wrapped in the frame window centered at provided owner component.
|
JInternalFrame |
getErrorInternalFrame(Component owner)
Creates new ErrorPane wrapped in the internal frame window centered at provided owner component.
|
protected void |
reinit()
Reconfigures the dialog if settings have changed, such as the
errorInfo, errorIcon, warningIcon, etc
|
calculatePreferredSize, getDefaultErrorIcon, getDefaultWarningIcon, getDetailsAsHTML, installComponents, installDefaults, installListeners, installUI, uninstallComponents, uninstallDefaults, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
private JLabel titleLabel
private JEditorPane disclaimerText
public MacOSXErrorPaneUI()
protected void configureDetailsButton(boolean expanded)
configureDetailsButton
in class BasicErrorPaneUI
protected void configureReportAction(AbstractActionExt reportAction)
configureReportAction
in class BasicErrorPaneUI
public static ComponentUI createUI(JComponent c)
public JFrame getErrorFrame(Component owner)
getErrorFrame
in class BasicErrorPaneUI
owner
- component to center created error frame at.public JDialog getErrorDialog(Component owner)
getErrorDialog
in class BasicErrorPaneUI
owner
- component to center created error dialog at.public JInternalFrame getErrorInternalFrame(Component owner)
getErrorInternalFrame
in class BasicErrorPaneUI
owner
- component to center created error frame at.protected LayoutManager createErrorPaneLayout()
createErrorPaneLayout
in class BasicErrorPaneUI
protected LayoutManager createDetailPanelLayout()
createDetailPanelLayout
in class BasicErrorPaneUI
protected void reinit()
reinit
in class BasicErrorPaneUI
protected int getDetailsHeight()
getDetailsHeight
in class BasicErrorPaneUI
private void createExtraComponents()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses