org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/TextEntryControl.js
changeset 102 30e0796f3ebb
parent 73 c56c874eef47
child 210 0f7abfd6ae62
--- a/org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/TextEntryControl.js	Fri Feb 05 09:22:26 2010 -0800
+++ b/org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/TextEntryControl.js	Fri Feb 05 11:54:28 2010 -0800
@@ -63,7 +63,7 @@
     
     // call superclass initializer
     Control.prototype.init.call(this, id, caption);
-}
+};
 
 // Common event listeners hookup function called from subclasses.
 TextEntryControl.prototype.bindTextEntryControlListeners = function() {
@@ -73,13 +73,13 @@
     this.peerElement.addEventListener("mouseover", function() { self.hoverStateChanged(true); }, false);
     this.peerElement.addEventListener("mouseout", function() { self.hoverStateChanged(false); }, false);
     this.peerElement.addEventListener("change", function() { self.valueChanged(); }, false);
-}
+};
 
 // Returns the enabled state.
 // Override this in subclasses as required to implement the state change.
 TextEntryControl.prototype.isEnabled = function() {
     return !this.peerElement.readOnly;
-}
+};
 
 // Sets the enabled state.
 // Override this in subclasses as required to implement the state change.
@@ -88,23 +88,23 @@
     this.peerElement.readOnly = !enabled;
     // update the style
     this.updateStyleFromState();
-}
+};
 
 // Returns the control text.
 TextEntryControl.prototype.getText = function() {
     return this.peerElement.value;
-}
+};
 
 // Sets the text for the control.
 TextEntryControl.prototype.setText = function(text) {
     this.peerElement.value = text;
-}
+};
 
 // Returns the focusable state for the control.
 TextEntryControl.prototype.isFocusable = function() {
     // text entry controls are always focusable
     return true;
-}
+};
 
 // Sets the focused state for the control.
 // Note: This may not always succeed.
@@ -115,11 +115,11 @@
     } else {
         this.peerElement.blur();
     }
-}
+};
 
 // Callback for value change events.
 TextEntryControl.prototype.valueChanged = function() {
     uiLogger.debug("TextEntryControl.valueChanged()");
     // notify event listeners
     this.fireEvent(this.createEvent("ValueChanged", this.peerElement.value));
-}
+};