
Undocumented Secrets of MATLAB
®
-Java Programming16
described later in this book). Here is a preview of uiinspect for the Dimension object that was
created above:
>> uiinspect(dim);
>> dim.uiinspect; % equivalent form
uiinspect sample screenshot
Accessible object methods can be invoked using either direct method invocation (in the form
object.method(. . .)), javaMethod, or the unsupported semidocumented awtinvoke (that is
described in more detail below). Direct method invocation is the preferred invocation form in
most cases. The alternative forms, using javaMethod or awtinvoke, would normally be used
only in one of the following cases:
W