org.apache.batik.util.gui
public class JErrorPane extends JPanel implements ActionMap
Nested Class Summary | |
---|---|
protected class | JErrorPane.OKButtonAction
The action associated with the 'OK' button. |
protected class | JErrorPane.ShowDetailButtonAction
The action associated with the 'Show Detail' button. |
Field Summary | |
---|---|
protected ButtonFactory | bf
The button factory. |
protected static ResourceBundle | bundle
The resource bundle |
protected JComponent | detailsArea
The text area used to show the stack trace. |
protected boolean | isDetailShown
This flag bit indicates whether or not the stack trace is shown. |
protected Map | listeners
The map that contains the listeners |
protected String | msg
The error message. |
protected static ResourceManager | resources
The resource manager |
protected static String | RESOURCES
The resource file name |
protected JButton | showDetailButton
The button used to show or not the details. |
protected String | stacktrace
The stack trace. |
protected JPanel | subpanel
The sub panel that contains the stack trace text area. |
Constructor Summary | |
---|---|
JErrorPane(Throwable th, int type)
Constructs a new JErrorPane.
|
Method Summary | |
---|---|
protected JPanel | createButtonsPanel() |
JDialog | createDialog(Component owner, String title) |
Action | getAction(String key)
Returns the action associated with the given string or null on error
|
Parameters: th the throwable object that describes the errror type the dialog type
Parameters: key the key mapped with the action to get
Throws: MissingListenerException if the action is not found