search

src/lab/util/SubjectList.js

1// Copyright 2016 Erik Neumann. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the 'License');
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an 'AS IS' BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15goog.provide('myphysicslab.lab.util.SubjectList');
16
17goog.require('myphysicslab.lab.util.Printable');
18goog.require('myphysicslab.lab.util.Subject');
19
20/** Provides a list of {@link myphysicslab.lab.util.Subject Subjects} contained
21in this object, including this object if it is a Subject itself.
22Used when creating a {@link myphysicslab.lab.util.EasyScriptParser}.
23
24* @interface
25* @extends {myphysicslab.lab.util.Printable}
26*/
27myphysicslab.lab.util.SubjectList = function() {};
28
29/** Returns list of Subjects contained in this object, possibly including this object
30itself.
31@return {!Array<!myphysicslab.lab.util.Subject>} the Subjects contained in this object
32*/
33myphysicslab.lab.util.SubjectList.prototype.getSubjects;