Package | Description |
---|---|
ptolemy.gui |
Graphical User Interface classes.
|
ptolemy.moml |
Modeling Markup Language classes.
|
ptolemy.util |
The ptolemy.util package.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GraphicalMessageHandler._warning(java.lang.String info)
Show the specified message in a modal dialog.
|
protected void |
UndeferredGraphicalMessageHandler._warning(java.lang.String info)
Show the specified message in a modal dialog.
|
protected void |
GraphicalMessageHandler._warning(java.lang.String info,
java.lang.Throwable throwable)
Show the specified message and throwable information
in a modal dialog.
|
protected void |
UndeferredGraphicalMessageHandler._warning(java.lang.String info,
java.lang.Throwable throwable)
Show the specified message and throwable information
in a modal dialog.
|
protected boolean |
GraphicalMessageHandler._yesNoCancelQuestion(java.lang.String question,
java.lang.String trueOption,
java.lang.String falseOption,
java.lang.String exceptionOption)
Ask the user a question with three possible answers;
return true if the answer is the first one and false if
the answer is the second one; throw an exception if the
user selects the third one.
|
protected boolean |
UndeferredGraphicalMessageHandler._yesNoCancelQuestion(java.lang.String question,
java.lang.String trueOption,
java.lang.String falseOption,
java.lang.String exceptionOption)
Ask the user a question with three possible answers;
return true if the answer is the first one and false if
the answer is the second one; throw an exception if the
user selects the third one.
|
Modifier and Type | Method and Description |
---|---|
void |
MoMLParser.doctypeDecl(java.lang.String name,
java.lang.String publicID,
java.lang.String systemID)
If a public ID is given, and is not that of MoML,
then throw a CancelException, which causes the parse to abort
and return null.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MessageHandler._warning(java.lang.String info)
Show the specified message.
|
protected void |
SimpleMessageHandler._warning(java.lang.String info)
Show the specified message.
|
protected void |
MessageHandler._warning(java.lang.String info,
java.lang.Throwable throwable)
Display the warning message and throwable information.
|
protected void |
SimpleMessageHandler._warning(java.lang.String info,
java.lang.Throwable throwable)
Display the warning message and throwable information.
|
protected boolean |
MessageHandler._yesNoCancelQuestion(java.lang.String question,
java.lang.String trueOption,
java.lang.String falseOption,
java.lang.String exceptionOption)
Ask the user a question with three possible answers;
return true if the answer is the first one and false if
the answer is the second one; throw an exception if the
user selects the third one.
|
protected boolean |
SimpleMessageHandler._yesNoCancelQuestion(java.lang.String question,
java.lang.String trueOption,
java.lang.String falseOption,
java.lang.String exceptionOption)
Ask the user a question with three possible answers;
return true if the answer is the first one and false if
the answer is the second one; throw an exception if the
user selects the third one.
|
static void |
MessageHandler.warning(java.lang.String info)
Defer to the set message handler to
show the specified message in a modal dialog.
|
static void |
MessageHandler.warning(java.lang.String info,
java.lang.Throwable throwable)
Show the specified message and throwable information
in a modal dialog.
|
static boolean |
MessageHandler.yesNoCancelQuestion(java.lang.String question)
Ask the user a yes/no/cancel question, and return true if the
answer is yes.
|
static boolean |
MessageHandler.yesNoCancelQuestion(java.lang.String question,
java.lang.String trueOption,
java.lang.String falseOption,
java.lang.String exceptionOption)
Ask the user a question with three possible answers;
return true if the answer is the first one and false if
the answer is the second one; throw an exception if the
user selects the third one.
|