www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/+xregdesgui/DesignView1d.m
classdef DesignView1d < xregdesgui.DesignProjView %xregdesgui.DesignView1d class % xregdesgui.DesignView1d extends xregdesgui.DesignProjView. % % xregdesgui.DesignView1d properties: % Parent - Property is of type 'MATLAB array' % Position - Property is of type 'rect' % Enable - Property is of type 'on/off' % Visible - Property is of type 'on/off' % UserData - Property is of type 'MATLAB array' % Tag - Property is of type 'string' % MessageService - Property is of type 'handle' % Options - Property is of type 'handle vector' % Actions - Property is of type 'handle vector' % UIContextMenu - Property is of type 'MATLAB array' % % xregdesgui.DesignView1d methods: % createDisplay - Create the graph object for the view % gettitle - Return a suitable title for a window % Copyright 2015 The MathWorks, Inc. and Ford Global Technologies, Inc. methods % constructor block function obj = DesignView1d(varargin) %DESIGNVIEW1D Constructor for DesignView1d % OBJ = DESIGNVIEW1D(PROP, VALUe, ...) obj@xregdesgui.DesignProjView(varargin{ : }); % converted super class constructor call end % designview1d end % constructor block methods % public methods %---------------------------------------- function G = createDisplay(obj) %CREATEDISPLAY Create the graph object for the view % G = CREATEDISPLAY(OBJ) creates the nD graph object that is used for the % display. G = mvgraph1d(obj.Parent, ... 'visible', obj.Visible, ... 'position', obj.Position, ... 'frame','off'); end % createDisplay %---------------------------------------- function s = gettitle(obj) %#ok<MANU> %GETTITLE Return a suitable title for a window % GETTITLE(OBJ) returns a string that can be used as a title for the view. s = '1D Design Projection'; end % gettitle end % public methods end % classdef