www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/+mbcgui/+multiview/PanelViewContainer.m

    classdef PanelViewContainer < mbcgui.multiview.ViewContainer
    %mbcgui.multiview.PanelViewContainer class
    %   mbcgui.multiview.PanelViewContainer extends mbcgui.multiview.ViewContainer.
    %
    %    mbcgui.multiview.PanelViewContainer 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'
    %       BackgroundColor - Property is of type 'color'
    %       Closeable - Property is of type 'bool'
    %       Selected - Property is of type 'bool'
    %       View - Property is of type 'handle'
    %       UIContextMenu - Property is of type 'MATLAB array'
    %       PanelHandle - Property is of type 'MATLAB array'
    %
    %    mbcgui.multiview.PanelViewContainer methods:
    %       pConfigurePanel - Configure a uipanel for use as the main Panel
    
    %  Copyright 2005-2014 The MathWorks, Inc. and Ford Global Technologies, Inc.
    methods  % constructor block
        function obj = PanelViewContainer(varargin)
        %PANELVIEWCONTAINER Constructor for PanelViewContainer object
        %
        %  OBJ = PANELVIEWCONTAINER(PROP, VALUE, ...) constructs a new
        %  PanelViewContainer object.
        
        obj@mbcgui.multiview.ViewContainer(varargin{ : }); % converted super class constructor call
        
        end  % PanelViewContainer
        
    end  % constructor block
    
    methods (Access=protected) % protected methods
        %----------------------------------------
        function pConfigurePanel(obj)
        %PCONFIGUREPANEL Configure a uipanel for use as the main Panel
        %
        %  PCONFIGUREPANEL(OBJ) is called to configure the object that is
        %  used as the main panel in the ViewContainer
        
        pConfigurePanel@mbcgui.multiview.ViewContainer(obj);
        set(obj.PanelHandle, 'BorderType', 'beveledin');
        
        end  % pConfigurePanel
        
    end  % protected  methods
    
end  % classdef