www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@javaToolbar/setParent.m
function setParent(obj, newP) %SETPARENT Set component to draw in new parent % % SETPARENT(OBJ, NEWP) sets the toolbar to draw in the new parent NEWP. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. mbcsuperclassmethod(obj, 'xregGui.javaToolbar', 'setParent', newP); obj.hJavaImage.Parent = newP;