public class ExceptionElement extends DefaultElement
| Constructor and Description |
|---|
ExceptionElement(java.lang.String shortLabel, java.lang.String longLabel, java.lang.String toolTip, javax.swing.Icon icon, java.lang.Throwable error) |
ExceptionElement(java.lang.String name, java.lang.Throwable error) |
ExceptionElement(java.lang.Throwable error) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause() |
java.lang.Object |
getData()
Part of the
Data interface. |
javax.swing.Icon |
getIcon()
This implementation returns a plain document icon.
|
java.lang.String |
getLongLabel()
This implementation delegates to
DefaultDisplayable.getShortLabel(). |
java.lang.String |
getShortLabel()
This implementation returns a place-holder
String. |
java.lang.String |
getToolTipText()
This implementation delegates to
DefaultDisplayable.getLongLabel(). |
boolean |
mayHaveChildren()
Part of the
Element interface. |
getAttributes, getChildrentoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoString
public ExceptionElement(java.lang.String name,
java.lang.Throwable error)
public ExceptionElement(java.lang.Throwable error)
public ExceptionElement(java.lang.String shortLabel,
java.lang.String longLabel,
java.lang.String toolTip,
javax.swing.Icon icon,
java.lang.Throwable error)
public java.lang.String getShortLabel()
DefaultDisplayableString.getShortLabel in interface DisplayablegetShortLabel in class DefaultDisplayableDisplayable that can be shown to the user.Displayable.getShortLabel()public java.lang.String getLongLabel()
DefaultDisplayableDefaultDisplayable.getShortLabel().getLongLabel in interface DisplayablegetLongLabel in class DefaultDisplayableDisplayable that can be shown to the user.Displayable.getLongLabel()public java.lang.Object getData()
DefaultElementData interface. This implementation returns this.getData in interface ElementgetData in class DefaultElementElement instance.Data#getData()public java.lang.Throwable getCause()
public javax.swing.Icon getIcon()
DefaultDisplayablegetIcon in interface DisplayablegetIcon in class DefaultDisplayableIcon to be displayed for the Displayable.Displayable.getIcon()public java.lang.String getToolTipText()
DefaultDisplayableDefaultDisplayable.getLongLabel().getToolTipText in interface DisplayablegetToolTipText in class DefaultDisplayableDisplayable.Displayable.getToolTipText()public boolean mayHaveChildren()
DefaultElementElement interface. This implementation always returns false.mayHaveChildren in interface ElementmayHaveChildren in class DefaultElementtrue if this Element may contain child Elements.Element.mayHaveChildren()