www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/+mbcgui/+widget/@ScrollTable/setVisible.m

    function val = setVisible(obj, val)
%SETVISIBLE Respond to visible being set
%
%  SETVISIBLE(OBJ, EVT) is called after the object's visible
%  property has been set.

%  Copyright 2006-2015 The MathWorks, Inc. and Ford Global Technologies, Inc.


set([obj.RowHeaderObjects(:); obj.ColumnHeaderObjects(:); obj.MainObjects(:)], ...
    'Visible', obj.Visible);