Package docking
Class ErrLogExpandableDialog
- java.lang.Object
-
- docking.DialogComponentProvider
-
- docking.AbstractErrDialog
-
- docking.ErrLogExpandableDialog
-
- All Implemented Interfaces:
ActionContextProvider
,StatusListener
,TaskListener
public class ErrLogExpandableDialog extends AbstractErrDialog
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JButton
detailButton
protected java.awt.Component
horizontalSpacer
This spacer addresses the optical impression that the message panel changes size when showing detailsstatic javax.swing.ImageIcon
IMG_CAUSE
static javax.swing.ImageIcon
IMG_EXCEPTION
static javax.swing.ImageIcon
IMG_FRAME_ELEMENT
static javax.swing.ImageIcon
IMG_REPORT
static javax.swing.ImageIcon
IMG_STACK
protected javax.swing.JPopupMenu
popup
protected docking.ErrLogExpandableDialog.ReportRootNode
root
protected javax.swing.JButton
sendButton
protected GTree
tree
-
Fields inherited from class docking.AbstractErrDialog
MAX_EXCEPTIONS
-
Fields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ErrLogExpandableDialog(java.lang.String title, java.lang.String msg, java.lang.Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addException(java.lang.String message, java.lang.Throwable t)
java.lang.String
getMessage()
Returns the string message of this error dialogjava.awt.Dimension
getPreferredSize()
Returns the preferred size of this component.-
Methods inherited from class docking.AbstractErrDialog
dialogClosed
-
Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, close, dialogShown, dismissCallback, dispose, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocatdion, getId, getIntialLocation, getLocationOnScreen, getParent, getRemberSize, getRememberLocation, getStatusColor, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, notifyContextChanged, okCallback, removeAction, removeButton, removeWorkPanel, repack, setApplyEnabled, setApplyToolTip, setBackground, setCancelButtonText, setCancelEnabled, setCancelToolTip, setCursor, setDefaultButton, setDefaultSize, setDialogSize, setDismissToolTip, setFocusComponent, setGlassPane, setHelpLocation, setInitialLocation, setMinimumSize, setMinimumSize, setOkButtonText, setOkEnabled, setOkToolTip, setPreferredSize, setRememberLocation, setRememberSize, setResizable, setStatusJustification, setStatusText, setStatusText, setStatusText, setTitle, setTransient, setUseSharedLocation, showProgressBar, showTaskMonitorComponent, stopProgressTimer, taskCancelled, taskCompleted, toFront, toString, waitForCurrentTask
-
-
-
-
Field Detail
-
IMG_REPORT
public static javax.swing.ImageIcon IMG_REPORT
-
IMG_EXCEPTION
public static javax.swing.ImageIcon IMG_EXCEPTION
-
IMG_FRAME_ELEMENT
public static javax.swing.ImageIcon IMG_FRAME_ELEMENT
-
IMG_STACK
public static javax.swing.ImageIcon IMG_STACK
-
IMG_CAUSE
public static javax.swing.ImageIcon IMG_CAUSE
-
root
protected docking.ErrLogExpandableDialog.ReportRootNode root
-
tree
protected GTree tree
-
horizontalSpacer
protected java.awt.Component horizontalSpacer
This spacer addresses the optical impression that the message panel changes size when showing details
-
detailButton
protected javax.swing.JButton detailButton
-
sendButton
protected javax.swing.JButton sendButton
-
popup
protected javax.swing.JPopupMenu popup
-
-
Method Detail
-
getPreferredSize
public java.awt.Dimension getPreferredSize()
Description copied from class:DialogComponentProvider
Returns the preferred size of this component.- Overrides:
getPreferredSize
in classDialogComponentProvider
- Returns:
- the preferred size of this component.
-
addException
public void addException(java.lang.String message, java.lang.Throwable t)
-
getMessage
public java.lang.String getMessage()
Description copied from class:AbstractErrDialog
Returns the string message of this error dialog- Specified by:
getMessage
in classAbstractErrDialog
- Returns:
- the message
-
-