methodsview - Information on class methods in separate window

Syntax

methodsview packagename.classname
methodsview classname
methodsview(object)

Description

methodsview packagename.classname displays information about the methods in the class, classname. You must include packagename if the class is in a package. If classname is a MATLAB® or Sun™ Java™ class, methodsview lists only public methods, including those inherited from superclasses.

methodsview classname displays information describing the class classname.

methodsview(object) displays information about the methods of the class of object.

methodsview creates a new window that displays the methods defined in the specified class and lists the following information;

Examples

The following command lists information on all methods in the java.awt.MenuItem class.

methodsview java.awt.MenuItem

MATLAB displays this information in a new window, as shown below

See Also

methods, import, class, javaArray

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS