PageSourceSearch

http://www.meshlabjs.net/js/mlj/gui/Widget.js

js meshlabjs.net collected 2026-10-03 20:42:26 UTC 1,302 bytes, 59 lines download raw bytes

1/**
2 * MLJLib
3 * MeshLabJS Library
4 * 
5 * Copyright(C) 2015
6 * Paolo Cignoni 
7 * Visual Computing Lab
8 * ISTI - CNR
9 * 
10 * All rights reserved.
11 *
12 * This program is free software; you can redistribute it and/or modify it under 
13 * the terms of the GNU General Public License as published by the Free Software 
14 * Foundation; either version 2 of the License, or (at your option) any later 
15 * version.
16 *
17 * This program is distributed in the hope that it will be useful, but WITHOUT 
18 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
19 * FOR A PARTICULAR PURPOSE. See theGNU General Public License 
20 * (http://www.gnu.org/licenses/gpl.txt) for more details.
21 * 
22 */
23
24/**
25 * @file Defines the Widget base class 
26 * @author Stefano Gabriele
27 */
28
29/**
30 * MLJ.gui.widget namespace
31 * @namespace MLJ.gui.widget
32 * @memberOf MLJ.gui
33 * @author Stefano Gabriele
34 */
35MLJ.gui.widget = {};
36
37/**         
38 * @class The widget base class
39 * @abstract
40 * @author Stefano Gabriele 
41 */
42MLJ.gui.Widget = function () {};
43
44MLJ.gui.Widget.prototype = {
45    /**
46     * The function called to build the widget
47     * @abstract
48     */
49    _make: function () {
50
51    },
52    
53    /**
54     * The function called to refresh the widget
55     * @abstract
56     */
57    _refresh: function () {
58    }
59};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.