
Undocumented Secrets of MATLAB
®
-Java Programming468
Top document bar position
getDocumentContainment() ◾ — This returns the number 2. I am uncertain what this
represents, but I suspect that it may be related to jDesktop’s PER_FRAME (=1) and
PER_GROUP (=2) static elds. There is also a corresponding setDocument-
Containment(value) method and a DocumentContainment property.
getContainingFrame(clientHandle)
◾ — returns a handle to the client’s Java container, a
com.mathworks.hg.peer.FigureClientProxy$FigureDTClientBase
object. This object is actually mid-level in the Frame hierarchy, as shown in Section 7.2.
It can be used to ...