www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@javacomponent/pPostSetVisible.m

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

%  Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc.


if ~isempty(obj.hPanel)
    set(obj.hPanel, 'Visible', obj.Visible);
else
    % Check to see whether component is constructed
    obj.pSetupComponent;
end