Author: ben
Date: 2007-11-19 14:14:04 -0800 (Mon, 19 Nov 2007)
New Revision: 7325
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/views/LzText.lzs
openlaszlo/trunk/lps/components/base/basecomponent.lzx
Log:
Change 20071119-ben-k by [EMAIL PROTECTED] on 2007-11-19 14:04:48 PST
in /Users/ben/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Correct js2doc markup for LzText and basecomponent
Technical Reviewer: none
Documentation:
Several events in LzText needed to be annotated as events,
using /** @lzxtype event */
basecomponent needed the focusable attribute to be
private, because that attribute is declared on LzView.
Release Notes:
Details:
Tests:
ant clean build doc
http://localhost:8080/trunk/docs/reference/LzText.html
Notice that the only event listed is "ontext" -- this is
the same as in 3.4.
http://localhost:8080/trunk/docs/reference/lz.basecomponent.html
Note that the focusable attribute is inherited from view.
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LzText.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/views/LzText.lzs 2007-11-19 22:13:02 UTC
(rev 7324)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LzText.lzs 2007-11-19 22:14:04 UTC
(rev 7325)
@@ -11,7 +11,7 @@
/**
* <p>This class is used for non-editable text fields (as opposed to
- * tagname <tagname>inputtext</tagname>. A text field can be initalized
+ * <tagname>inputtext</tagname>. A text field can be initalized
* with text content at compile time.</p>
*
* <example>
@@ -82,17 +82,23 @@
* @lzxtype event
*/
var ontext = LzDeclaredEvent;
-/** @lzxtype event */
+/** @lzxtype event
+ * @access private */
var onmaxlength = LzDeclaredEvent;
-/** @lzxtype event */
+/** @lzxtype event
+ * @access private */
var onpattern = LzDeclaredEvent;
-/** @lzxtype event */
+/** @lzxtype event
+ * @access private */
var onscroll = LzDeclaredEvent;
-/** @lzxtype event */
+/** @lzxtype event
+ * @access private */
var onmaxscroll = LzDeclaredEvent;
-/** @lzxtype event */
+/** @lzxtype event
+ * @access private */
var onhscroll = LzDeclaredEvent;
-/** @lzxtype event */
+/** @lzxtype event
+ * @access private */
var onmaxhscroll = LzDeclaredEvent;
/**
@@ -153,6 +159,7 @@
* the width of the widest line. Defaults to true.
*
* @lzxtype booleanLiteral
+ * @modifiers read-only
*/
var resize = true;
@@ -162,8 +169,10 @@
*/
var text;
+/** @access private */
var colorstring = "#000000"; // black
+/** @access private */
function init () {
super.init.apply(this, arguments);
@@ -361,14 +370,18 @@
/**
* @lzxtype numberExpression
- * @access private
+ * @modifiers read-only
*/
+var maxlength;
+/** @access private */
setters.maxlength = "setMaxLength";
/**
* @lzxtype string
- * @access private
+ * @modifiers read-only
*/
+var pattern;
+/** @access private */
setters.pattern = "setPattern";
Modified: openlaszlo/trunk/lps/components/base/basecomponent.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basecomponent.lzx 2007-11-19
22:13:02 UTC (rev 7324)
+++ openlaszlo/trunk/lps/components/base/basecomponent.lzx 2007-11-19
22:14:04 UTC (rev 7325)
@@ -16,7 +16,8 @@
when disabled.-->
<attribute name="enabled" value="true"/>
- <!--- when true, the component can be focused. -->
+ <!--- when true, the component can be focused.
+ @access private -->
<attribute name="focusable" value="true" type="boolean"
setter="_setFocusable(focusable)" />
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins