www.gusucode.com > mbclayouts 工具箱 matlab 源码程序 > mbclayouts/@xreglayerlayout/get.m

    function  res =get(obj,parameter)
%  Synopsis
%     function  res =get(obj,parameter)
%
%  Description
%     Performs the same action as the handle graphics get function.
%     Some parameter types are overloaded however to take into account
%     object groupings.
%

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



switch upper(parameter)
case  'POSITION' 
   res = get(obj.xregcontainer,'Position');
otherwise
   res = get(obj.xregcontainer,parameter);
end