|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectThrowableHolderV
@ThreadRestricted(value="AWT event dispatch") public final class ThrowableHolderV
View of a throwable holder in an option pane. The main dialog displays a brief summary of the throwable. A supplementary stack trace dialog may be requested by the user.
Constructor Summary | |
---|---|
ThrowableHolderV(JOptionPane optionPane,
Spool spool)
Partially creates a ThrowableHolderV, for init2() to finish. |
Method Summary | |
---|---|
JDialog |
dialog()
Returns the main dialog of this view, as created from the option pane. |
JDialog |
dialogST()
Returns the dialog containing the supplementary stack trace view. |
ThrowableHolderModel |
getModel()
Returns the model that is viewed. |
String |
getTitle()
Returns the title of the view, if any. |
ThrowableHolderV |
init2(ThrowableHolderModel m,
Component dialogParent,
Preferences preferences)
Finishes and returns the new ThrowableHolderV. |
void |
setModel(ThrowableHolderModel newModel)
Sets the model that is viewed, per getModel(). |
void |
setTitle(String newTitle)
Sets the title, per getTitle(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThrowableHolderV(JOptionPane optionPane, Spool spool)
spool
- for internal holds. When unwound, this instance
will become disabled, and will release its internal holds.Method Detail |
---|
public ThrowableHolderV init2(ThrowableHolderModel m, Component dialogParent, Preferences preferences)
m
- model per getModel(); or null to set it laterdialogParent
- Parent component per JOptionPane.getDialog().
This parameter may be null.preferences
- node for storagepublic JDialog dialog()
By default, the dialog is modal, and always on top.
public JDialog dialogST()
public ThrowableHolderModel getModel()
public void setModel(ThrowableHolderModel newModel)
public final String getTitle()
public final void setTitle(String newTitle)
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |