|
Shows the form with the given name in the current main window. In a single window application, the form replaces the current one. In an application with subwindows, the form must exist in the main window layout. If not, it will not be opened. Showing a form that is already open will only activate the form.
|
||
|
Closes the form with the given name. Closing forms is only possible in applications using subwindows. This method is not applicable for single window applications.
|
||
|
Shows the form with the given name as a dialog. Equivalent to the dialog method of a Form object; see below.
|
||
|
Stops execution and opens an error dialog with the given message including the underlying cause of class Throwable, the general Java exception class, or one of its subclasses, such as RuntimeException. This can be used to “wrap” native COMSOL Multiphysics error messages with custom error messages.
|
||
|
Stops execution and displays a dialog with a text field, requesting input from the user. The given text is the label of the text field, the default string is the text initially shown in the text field, and the title is the title of the dialog. The method returns the entered text or null if the cancel button is clicked.
|
||
|
Sends a message arg to the message log. For an application this requires that a message log is added to the application user interface. The input argument arg can be a scalar, 1D array, or 2D array of the types string, double, int, or Boolean.
|
||
|
Returns an object of the type ChoiceList, representing a choice list node under the declarations branch. The type ChoiceList has methods that make it easier to change the matrix value with respect to changing and accessing values and display names individually.
|
||
|
Sets the enable state for the menu bar item specified by the name or name path (from menu bar) in the first argument.
|
||
|
Goes to a standard view in main graphics window. The parameter name is one of the view orientation strings in the following list: "xy","xz","yx","yz","zx","zy".
|
||

