[Laszlo-checkins] r8970 - openlaszlo/trunk/WEB-INF/lps/lfc/services
max@openlaszlo.org
max at openlaszlo.org
Thu May 1 18:43:19 PDT 2008
Author: max
Date: 2008-05-01 18:43:15 -0700 (Thu, 01 May 2008)
New Revision: 8970
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/services/LzFocus.lzs
Log:
Change 20080501-maxcarlson-j by maxcarlson at Roboto on 2008-05-01 15:23:10 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix LzFocus reference page
New Features:
Bugs Fixed: LPP-5822 - LzFocus reference page problems
Technical Reviewer: hminsky
QA Reviewer: promanik
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Changes to doc comments.
Tests: docs/reference/LzFocus.html now points to docs/reference/LzFocusService.html. LzFocusService.html issues listed in the bug are resolved.
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/services/LzFocus.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/services/LzFocus.lzs 2008-05-02 01:41:57 UTC (rev 8969)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/services/LzFocus.lzs 2008-05-02 01:43:15 UTC (rev 8970)
@@ -22,27 +22,36 @@
dynamic class LzFocusService extends LzMiniNode {
/** Sent when the focus changes, with the argument being the view
- * that was just focused. If nothing is focussed, this event is sent with null.
+ * that was just focused. If nothing is focused, this event is sent with null.
+ * @access public
+ * @lzxtype event
*/
var onfocus = LzDeclaredEvent;
/** A reference to the last view that held the focus
* @type LzView
+ * @keywords readonly
*/
var lastfocus = null;
+ /** @access private */
var csel = null;
+ /** @access private */
var cseldest = null;
+ /** @access private */
function LzFocusService () {
}
+ /** @access private */
function initialize () {
this.upDel = new LzDelegate( LzFocus , "gotKeyUp", LzKeys, "onkeyup");
this.downDel = new LzDelegate( LzFocus , "gotKeyDown", LzKeys, "onkeydown");
}
+ /** @access private */
var upDel;
+ /** @access private */
var downDel;
/** This attribute is set to true when the focus has moved
@@ -51,6 +60,7 @@
* false. If the focus moves through programmatic control, the value is
* unchanged from its last value.
* @type Boolean
+ * @keywords readonly
*/
var focuswithkey = false;
@@ -353,7 +363,8 @@
return focusgroup[index];
}
}
-
+/**
+ * LzFocus is a shortcut for <a href="LzFocusService.html">LzFocusService</a>.
+ */
var LzFocus = new LzFocusService();
LzFocus.initialize();
-
More information about the Laszlo-checkins
mailing list