Commit 779f29147cf3ba6212d8115e005c63a0fd62bb61
1 parent
7f523d49
Exists in
master
and in
16 other branches
Add comments to NumberZoomIntervalSelection.js
Showing
1 changed file
with
13 additions
and
8 deletions
Show diff stats
js/app/views/PlotComponents/intervalSelection/NumberZoomIntervalSelection.js
1 | 1 | Ext.define('amdaPlotComp.intervalSelection.NumberZoomIntervalSelection', { |
2 | - extend: 'amdaPlotComp.intervalSelection.ZoomIntervalSelection', // This class extends from amdaPlotComp.intervalSelection.IntervalSelection | |
2 | + extend: 'amdaPlotComp.intervalSelection.ZoomIntervalSelection', // This class extends from amdaPlotComp.intervalSelection.ZoomIntervalSelection | |
3 | 3 | |
4 | - field1Type: 'numberfield', | |
5 | - field1Label: 'Min Value', | |
6 | - field1Format: null, | |
7 | - field2Type: 'numberfield', | |
8 | - field2Label: 'Max value', | |
9 | - field2Format: null, | |
4 | + field1Type: 'numberfield', // The type of the first field is a number field | |
5 | + field1Label: 'Min Value', // The label for the first field is 'Min Value' | |
6 | + field1Format: null, // The format for the first field is initially set to null | |
7 | + field2Type: 'numberfield', // The type of the second field is a number field | |
8 | + field2Label: 'Max value', // The label for the second field is 'Max value' | |
9 | + field2Format: null, // The format for the second field is initially set to null | |
10 | 10 | |
11 | - type: null, | |
11 | + type: null, // The type of interval selection is initially set to null | |
12 | + | |
13 | + /** | |
14 | + * Initializes the component. | |
15 | + * It calls the parent's initComponent method, then removes the use time button. | |
16 | + */ | |
12 | 17 | initComponent: function () { |
13 | 18 | this.callParent(arguments); |
14 | 19 | this._removeUseTimeButton(); |
... | ... |