Author: ygrego Date: 2015-06-08 13:49:33 +0000 (Mon, 08 Jun 2015) New Revision: 1604 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1604 Log: Addition of "show" and "hide" method's documentation. Modified: oipf/js/impl/model/Application.js Modified: oipf/js/impl/model/Application.js =================================================================== --- oipf/js/impl/model/Application.js 2015-06-08 13:42:30 UTC (rev 1603) +++ oipf/js/impl/model/Application.js 2015-06-08 13:49:33 UTC (rev 1604) @@ -122,10 +122,43 @@ }, + /* + * Description: + * If the application visualization mode as defined by method + * getApplicationVisualizationMode() in section 7.2.1.3, is: + * + * 1 : Make the application visible. + * + * 2 : Make the application visible. Calling this method from the + * application itself may have no effect. + * + * 3 : Request to make the application visible. + * + * This method only affects the visibility of an application. In the case + * where more than one application is visible, calls to this method will + * not affect the z-index of the application with respect to any other + * visible applications. + */ show: function() { this.visible = true; }, + /* + * Description: + * If the application visualization mode as defined by method + * getApplicationVisualizationMode() in section 7.2.1.3, is: + * + * 1 : Make the application invisible. + * + * 2 : Make the application invisible. Calling this method from the + * application itself may have no effect. + * + * 3 : Request to make the application invisible. + * + * Calling this method has no effect on the lifecycle of the application. + * Note: Broadcast independent applications should not call this method. + * Doing so may result in only the background being visible to the user. + */ hide: function() { this.visible = false; },