Main Content

methodsview

View class methods

Description

methodsview(classname) displays information about the methods in the class classname. If classname is a MATLAB® or Java® class, methodsview lists only public methods, including those methods inherited from superclasses.

methodsview creates a window that displays the methods and information such as arguments, returned values, and superclasses. It also includes method qualifiers (for example, abstract or synchronized) and possible exceptions thrown.

example

methodsview(object) displays information for the class of object.

Examples

collapse all

List information on all methods in the java.awt.MenuItem class. MATLAB displays this information in a new window.

methodsview('java.awt.MenuItem')

Input Arguments

collapse all

Class name, specified as a string or a character vector.

Object name, specified as a string or a character vector.

Version History

Introduced before R2006a