Author: hqm
Date: 2007-07-26 17:28:09 -0700 (Thu, 26 Jul 2007)
New Revision: 5819
Modified:
openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx
Log:
updated replicator.lzx to declare attributes as instance vars in script
Modified:
openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx
===================================================================
---
openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx
2007-07-27 00:20:20 UTC (rev 5818)
+++
openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx
2007-07-27 00:28:09 UTC (rev 5819)
@@ -129,6 +129,24 @@
<![CDATA[
class replicator extends LzNode {
+
+ var pool = true;
+
+ // The size (width or height) in the replication axis of the view
+ // being replicated. Assumes all subviews have same replicated size.
+ var replicatedsize = null;
+
+ // The axis in which to replicate
+ var axis = "y";
+
+ // The list of elements controlled by this repliator
+ var clones = null;
+ var nodes = null;
+ var _sizes = { x : 'width', y: 'height' };
+ var _cloneprops = null;
+ var _clonepool = null;
+
+
// @keywords private
function construct (p,a) {
super.construct( p, a );
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins