User`s manual

5 Calling Java from MATLAB
5-24
Each row in the window displays up to six fields of information describing the
method. The table below lists the fields displayed in the
methodsview window
along with a description and examples of each field type.
Using the Methods Function on Java Classes
In addition to methodsview, the MATLAB methods function, that returns
information on methods of MATLAB classes, will also work on Java classes.
You can use any of the following forms of this command.
methods class_name
methods class_name -full
n = methods('class_name')
n = methods('class_name','-full')
Use methods without the '-full' qualifier to return the names of all the
methods (including inherited methods) of the class. Names of overloaded
methods are listed only once.
With the
'-full' qualifier, methods returns a listing of the method names
(including inherited methods) along with attributes, argument lists, and
inheritance information on each. Each overloaded method is listed separately.
Table 5-1: Fields Displayed in the Methodsview Window
Field Name Description Examples
Qualifiers Method type qualifiers abstract, synchronized
Return Type Data type returned by the method
void, java.lang.String
Name Method name addActionListener, dispatchEvent
Arguments Arguments passed to method boolean, java.lang.Object
Other Other relevant information throws java.io.IOException
Parent Parent of the specified class
java.awt.MenuComponent