Changed zouba directory heirarchy.
[ptas] / wrt / misc / rss / WRTKit / UI / Separator.js
diff --git a/wrt/misc/rss/WRTKit/UI/Separator.js b/wrt/misc/rss/WRTKit/UI/Separator.js
deleted file mode 100644 (file)
index b320899..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-/*\r
-© Copyright 2008 Nokia Corporation. All rights reserved.\r
-\r
-IMPORTANT:  The Nokia software ("WRTKit and Example Widget files") is supplied to you by Nokia\r
-Corporation (“Nokia”) in consideration of your agreement to the following terms. Your use, installation\r
-and/or redistribution of the WRTKit and Example Widget files constitutes acceptance of these terms. If\r
-you do not agree with these terms, please do not use, install, or redistribute the WRTKit and Example\r
-Widget files.\r
-\r
-In consideration of your agreement to abide by the following terms, and subject to these terms, Nokia\r
-grants you a personal, non-exclusive license, under Nokia’s copyrights in the WRTKit and Example\r
-Widget files, to use, reproduce, and redistribute the WRTKit and Example files, in text form (for HTML,\r
-CSS, or JavaScript files) or binary form (for associated images), for the sole purpose of creating S60\r
-Widgets.\r
-\r
-If you redistribute the WRTKit and Example files, you must retain this entire notice in all such\r
-redistributions of the WRTKit and Example files.\r
-\r
-You may not use the name, trademarks, service marks or logos of Nokia to endorse or promote products\r
-that include the WRTKit and Example files without the prior written explicit agreement with Nokia.\r
-Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by\r
-Nokia herein, including but not limited to any patent rights that may be infringed by your products that\r
-incorporate the WRTKit and Example files or by other works in which the WRTKit and Example files\r
-may be incorporated.\r
-\r
-The WRTKit and Example files are provided on an "AS IS" basis.  NOKIA MAKES NO\r
-WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\r
-WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A\r
-PARTICULAR PURPOSE, REGARDING THE EXAMPLES OR ITS USE AND OPERATION\r
-ALONE OR IN COMBINATION WITH YOUR PRODUCTS.\r
-\r
-IN NO EVENT SHALL NOKIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR\r
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
-INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, AND/OR\r
-DISTRIBUTION OF THE EXAMPLES, HOWEVER CAUSED AND WHETHER UNDER THEORY\r
-OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE,\r
-EVEN IF NOKIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
-\r
-*/\r
-\r
-///////////////////////////////////////////////////////////////////////////////\r
-// The Separator class is used to provide a visual separator in a list.\r
-\r
-// Constructor.\r
-function Separator(id) {\r
-    if (id != UI_NO_INIT_ID) {\r
-        this.init(id);\r
-    }\r
-}\r
-\r
-// Separator inherits from Control.\r
-Separator.prototype = new Control(UI_NO_INIT_ID);\r
-\r
-// Reference to the separator element.\r
-Separator.prototype.separatorElement = null;\r
-\r
-// Separator row element.\r
-Separator.prototype.tableRowElement = null;\r
-\r
-// Left cell element.\r
-Separator.prototype.tableLeftCellElement = null;\r
-\r
-// Center cell element.\r
-Separator.prototype.tableCenterCellElement = null;\r
-\r
-// Right cell element.\r
-Separator.prototype.tableRightCellElement = null;\r
-\r
-// Initializer - called from constructor.\r
-Separator.prototype.init = function(id) {\r
-    uiLogger.debug("Separator.init(" + id + ")");\r
-    \r
-    // call superclass initializer\r
-    Control.prototype.init.call(this, id, null);\r
-    \r
-    // remove caption and control elements\r
-    this.assemblyElement.removeChild(this.captionElement);\r
-    this.assemblyElement.removeChild(this.controlElement);\r
-    \r
-    // create separator\r
-    this.separatorElement = document.createElement("table");\r
-    this.tableRowElement = document.createElement("tr");\r
-    this.tableLeftCellElement = document.createElement("td");\r
-    this.tableCenterCellElement = document.createElement("td");\r
-    this.tableRightCellElement = document.createElement("td");\r
-    this.tableRowElement.appendChild(this.tableLeftCellElement);\r
-    this.tableRowElement.appendChild(this.tableCenterCellElement);\r
-    this.tableRowElement.appendChild(this.tableRightCellElement);\r
-    this.separatorElement.appendChild(this.tableRowElement);\r
-    this.assemblyElement.appendChild(this.separatorElement);\r
-    \r
-    // update style\r
-    this.updateStyleFromState();\r
-}\r
-\r
-// Returns the enabled state for the control.\r
-Separator.prototype.isEnabled = function() {\r
-    return true;\r
-}\r
-\r
-// Returns the focusable state for the control.\r
-Separator.prototype.isFocusable = function() {\r
-    return false;\r
-}\r
-\r
-// Updates the style of the control to reflects the state of the control.\r
-Separator.prototype.updateStyleFromState = function() {\r
-    uiLogger.debug("Separator.updateStyleFromState()");\r
-    \r
-    // set element class names\r
-    this.setClassName(this.rootElement, "Control");\r
-    this.setClassName(this.assemblyElement, "ControlAssembly ControlAssemblyNormal");\r
-    this.setClassName(this.separatorElement, "Separator");\r
-    this.setClassName(this.tableRowElement, "SeparatorRow");\r
-    this.setClassName(this.tableLeftCellElement, "SeparatorLeftCell");\r
-    this.setClassName(this.tableCenterCellElement, "SeparatorCenterCell");\r
-    this.setClassName(this.tableRightCellElement, "SeparatorRightCell");\r
-}\r