www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcmultiview/@EtchedViewContainer/pPostSetView.m

    function pPostSetView(obj)
%PPOSTSETVIEW Notify method called after the view is set
%
%  PPOSTSETVIEW(OBJ) is called in response to the View property being set.

%  Copyright 2005-2011 The MathWorks, Inc. and Ford Global Technologies, Inc.


obj.super('pPostSetView');

if ~isempty(obj.View)
    % Set title on the panel
    if obj.ShowTitle
        set(obj.PanelHandle, 'Title', obj.View.gettitle);
    end
end