Bläddra i källkod

Further missing comments added

Guide 7 år sedan
förälder
incheckning
7eab3814c7
1 ändrade filer med 5 tillägg och 2 borttagningar
  1. 5 2
      gui/src/2D/controls/selector.ts

+ 5 - 2
gui/src/2D/controls/selector.ts

@@ -34,11 +34,12 @@ export class SelectorGroup {
         this._addGroupHeader(name);
         this._addGroupHeader(name);
     }
     }
 
 
-    /** Gets or sets group stackPanel */
+    /** Gets the groupPanel of the SelectorGroup  */
     public get group(): StackPanel {
     public get group(): StackPanel {
         return this._groupPanel;
         return this._groupPanel;
     }
     }
 
 
+    /** Gets the selectors array */
     public get selectors(): StackPanel[] {
     public get selectors(): StackPanel[] {
         return this._selectors;
         return this._selectors;
     }
     }
@@ -79,7 +80,9 @@ export class SelectorGroup {
         this._addSldr(label, func, unit, min, max, value, onVal)
         this._addSldr(label, func, unit, min, max, value, onVal)
     };
     };
 
 
-    /** removes the selector/slider at the given position */
+    /** removes the selector/slider at the given position 
+     * @param selectorNb the position of the selector within the group
+    */
     public removeSelector(selectorNb: number) {
     public removeSelector(selectorNb: number) {
         if(selectorNb < 0) {
         if(selectorNb < 0) {
             return;
             return;