%hScanLTEWaveformController Controls input settings to scan LTE waveforms
%   hScanLTEWaveformController creates a controller interface which contains
%   all the widgets corresponding to the input settings.

%   Copyright 2019 The MathWorks, Inc.

classdef hScanLTEWaveformController < hScanLTEWaveformInterfaceController & ...
        hScanLTEWaveformParameterController
    
    properties (Access=protected, Constant)
        %Example file name 
        ExampleName = 'ScanLTEWaveformExample'
        %GUI title
        ExampleTitle = 'Scan LTE Waveform'
        %Properties for adjusting containers inside the GUI
        MinContainerWidth = 270
        MinContainerHeight = 375
        Column1Width = 100
    end
    methods
        function obj = hScanLTEWaveformController(varargin)
            obj@hScanLTEWaveformInterfaceController(varargin{:});
            obj.SignalFilename = 'LTECaptures.bb';
        end
    end
    methods (Access = protected)
        function addWidgets(obj)
            %Create all the widgets in search settings panel
            obj.addRow('SignalSource','Signal source','popupmenu');
            obj.addRow('SignalFilename','Signal file name','edit','text');
            obj.addRow('LTECenterFrequency','LTE frequency band','popupmenu','popupmenu');
            obj.addRow('LTECenterFrequencyRTLSDR','LTE frequency band','popupmenu','popupmenu');
            obj.addRow('UserDefinedFrequency','User frequency (MHz)','edit','text');
            obj.addRow('FrequencyOffset','Frequency offset (ppm)','edit','text');
            obj.addRow('CellRecType','Information block type','popupmenu');
            obj.addRow('CellRecTypeRTLSDR','Information block type','popupmenu');
        end
    end
end