www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregbdrygui/@InfoView/InfoView.m

    function obj = InfoView( varargin )
% XREGBDRYGUI.INFOVIEW class constructor 

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

% Is the first input argument a udd object derived from me? If it is then
% we are being called as a super class constructor and don't have to
% construct an object
if nargin && isa(varargin{1}, 'xregbdrygui.InfoView')
	obj = varargin{1};
	varargin(1) = [];
else
	obj = xregbdrygui.InfoView;
end
% Call the inherited constructor
AbstractBdryView(obj, varargin{:});

obj.pPostSetMessageService;

obj.Display = mbcgui.container.titlebarpanel(...
    'Parent', obj.Parent, ...
    'BarTitle', 'Properties' );
obj.InfoPane = mbcgui.table.InfoPane( 'Parent', obj.Display, ...
    'SplitPosition', .6 );
set(obj.Display,'ContentHandle', obj.InfoPane);