www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/+mbcgui/+widget/@ScrollTable/setParent.m
function val = setParent(obj, val) %SETPARENT Respond to parent being set % % SETPARENT(OBJ, EVT) is called after the object's parent property % has been set. % Copyright 2006-2015 The MathWorks, Inc. and Ford Global Technologies, Inc. setParent@mbcgui.widget.BasicContainer(obj,val); set(obj.RowHeaderObjects,'Parent',obj.Parent); set(obj.ColumnHeaderObjects,'Parent',obj.Parent); set(obj.MainObjects,'Parent',obj.Parent); set(obj.rowObjectCache,'Parent',obj.Parent); set(obj.colObjectCache,'Parent',obj.Parent); set(obj.mainObjectCache,'Parent',obj.Parent);