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.JButtondetailButtonprotected java.awt.ComponenthorizontalSpacerThis spacer addresses the optical impression that the message panel changes size when showing detailsstatic javax.swing.ImageIconIMG_CAUSEstatic javax.swing.ImageIconIMG_EXCEPTIONstatic javax.swing.ImageIconIMG_FRAME_ELEMENTstatic javax.swing.ImageIconIMG_REPORTstatic javax.swing.ImageIconIMG_STACKprotected javax.swing.JPopupMenupopupprotected docking.ErrLogExpandableDialog.ReportRootNoderootprotected javax.swing.JButtonsendButtonprotected GTreetree-
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 protectedErrLogExpandableDialog(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 voidaddException(java.lang.String message, java.lang.Throwable t)java.lang.StringgetMessage()Returns the string message of this error dialogjava.awt.DimensiongetPreferredSize()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, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocatdion, getId, getIntialLocation, getLocationOnScreen, 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:DialogComponentProviderReturns the preferred size of this component.- Overrides:
getPreferredSizein 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:AbstractErrDialogReturns the string message of this error dialog- Specified by:
getMessagein classAbstractErrDialog- Returns:
- the message
-
-