Author: ptw
Date: 2008-03-17 09:18:07 -0700 (Mon, 17 Mar 2008)
New Revision: 8292
Modified:
openlaszlo/trunk/lps/components/base/basetabs.lzx
openlaszlo/trunk/lps/components/charts/common/chart.lzx
openlaszlo/trunk/lps/components/charts/common/dataseries.lzx
openlaszlo/trunk/lps/components/charts/common/rectangularchart.lzx
openlaszlo/trunk/lps/components/charts/common/viewspoolmanager.lzx
openlaszlo/trunk/lps/components/charts/styles/styleparser.lzx
openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx
openlaszlo/trunk/lps/components/incubator/baseradio.lzx
openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditarea.lzx
openlaszlo/trunk/lps/components/incubator/scrolledittext.lzx
openlaszlo/trunk/lps/components/incubator/test/test-edittext.lzx
openlaszlo/trunk/lps/components/incubator/tooltipmanager.lzx
openlaszlo/trunk/lps/components/lz/datepicker.lzx
openlaszlo/trunk/lps/components/lz/grid.lzx
openlaszlo/trunk/lps/components/lz/list.lzx
openlaszlo/trunk/lps/components/lz/menu.lzx
openlaszlo/trunk/lps/components/lzunit/lzunit.lzx
openlaszlo/trunk/lps/components/queens-charts/linechart.lzx
openlaszlo/trunk/lps/components/queens-charts/piechart.lzx
openlaszlo/trunk/lps/components/queens-charts/shared/barchartbacking.lzx
openlaszlo/trunk/lps/components/queens-charts/shared/legend.lzx
openlaszlo/trunk/lps/components/queens-charts/shared/linechartbacking.lzx
openlaszlo/trunk/lps/components/queens-charts/shared/wholepie.lzx
openlaszlo/trunk/lps/components/utils/diagnostic/inspector/inspector.lzx
Log:
Change 20080317-ptw-i by [EMAIL PROTECTED] on 2008-03-17 12:11:02 EDT
in /Users/ptw/OpenLaszlo/ringding-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: More class/namespace fix-ups
Bugs Fixed:
LPP-1587 'ECMA4: Compile LZX declarations as JS declarations' (partial)
Technical Reviewer: hqm (pending)
QA Reviewer: max (pending)
Doc Reviewer: (pending)
Details:
More lz.<tagname> fixes
Tests:
Inspection
Modified: openlaszlo/trunk/lps/components/base/basetabs.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basetabs.lzx 2008-03-17 13:05:08 UTC
(rev 8291)
+++ openlaszlo/trunk/lps/components/base/basetabs.lzx 2008-03-17 16:18:07 UTC
(rev 8292)
@@ -623,7 +623,7 @@
}
}
if (this.content == null) {
- this.content = new basetabscontent(this, {}, null, true);
+ this.content = new lz.basetabscontent(this, {}, null, true);
Debug.write('Using basetabscontent for tabs content area');
}
</handler>
Modified: openlaszlo/trunk/lps/components/charts/common/chart.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/common/chart.lzx 2008-03-17
13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/charts/common/chart.lzx 2008-03-17
16:18:07 UTC (rev 8292)
@@ -78,7 +78,7 @@
this.style = this.defaultstyle;
} else {
// Check for a complete style definition.
- var parser = new styleparser(this, {style:this.style,
defaultstyle:this.defaultstyle});
+ var parser = new lz.styleparser(this, {style:this.style,
defaultstyle:this.defaultstyle});
this.style = parser.style;
}
@@ -171,7 +171,7 @@
<!--- @keyword private -->
<method name="createLabelViewspool">
- return new viewspool(this, {parentview:this.plotarea,
viewclass:'datalabel'})
+ return new lz.viewspool(this, {parentview:this.plotarea,
viewclass:'datalabel'})
</method>
<!--- @keyword private -->
Modified: openlaszlo/trunk/lps/components/charts/common/dataseries.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/common/dataseries.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/charts/common/dataseries.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -382,7 +382,7 @@
@param object args: args to pass in to create dataseries. it is ok
to be null -->
<method name="addDataSeries" args="args">
this.clearCache();
- var childNode = new dataseries(this, args);
+ var childNode = new lz.dataseries(this, args);
this.clearCache();
return childNode;
</method>
@@ -399,7 +399,7 @@
@param object args: args to pass in to create. It is ok to be
null -->
<method name="addDataColumn" args="args">
this.clearCache();
- var childNode = new datacolumn(this, args);
+ var childNode = new lz.datacolumn(this, args);
return childNode;
</method>
Modified: openlaszlo/trunk/lps/components/charts/common/rectangularchart.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/common/rectangularchart.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/charts/common/rectangularchart.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -207,7 +207,7 @@
if ( this.style.vaxisstyle!=null ) {
vaxis.style = this.style.vaxisstyle;
} else {
- vaxis.style = new axisstyle();
+ vaxis.style = new lz.axisstyle();
}
vaxis.setX( (this.plotarea[x] != null ? this.plotarea.x : this.x)
);
@@ -222,7 +222,7 @@
if ( this.style.haxisstyle!=null ) {
haxis.style = this.style.haxisstyle;
} else {
- haxis.style = new axisstyle();
+ haxis.style = new lz.axisstyle();
}
haxis.setX( (this.plotarea[x] != null ? this.plotarea.x : this.x)
);
Modified: openlaszlo/trunk/lps/components/charts/common/viewspoolmanager.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/common/viewspoolmanager.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/charts/common/viewspoolmanager.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -15,7 +15,7 @@
var pool = this.pools[className];
if(!pool)
{
- pool = new viewspool(parent);
+ pool = new lz.viewspool(parent);
//debug.write(pool);
pool.parentview = parent;
pool.viewclass = className;
@@ -52,7 +52,7 @@
}
else
{
- marker = new global[viewclass](parentview, args);
+ marker = new lz[viewclass](parentview, args);
}
this.used.push(marker);
marker.setVisible(true);
@@ -99,7 +99,7 @@
var pool = this.pools[listName];
if(!pool)
{
- pool = new viewslist(parent);
+ pool = new lz.viewslist(parent);
pool.parentview = parent;
pool.viewclass = className;
this.pools[listName] = pool;
@@ -130,7 +130,7 @@
<method name="getViewAt" args="index, args">
if(this.vlist[index] == null)
{
- this.vlist[index] = new global[viewclass](parentview, args);
+ this.vlist[index] = new lz[viewclass](parentview, args);
}
else
{
@@ -155,8 +155,8 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN
***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved.
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
* Use is subject to license terms.
* X_LZ_COPYRIGHT_END
****************************************************** -->
-<!-- @LZX_VERSION@ -->
\ No newline at end of file
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/charts/styles/styleparser.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/styles/styleparser.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/charts/styles/styleparser.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -38,15 +38,15 @@
<method name="readChildrenNode" >
<![CDATA[
if( this.style.constructor.tagname ==
this.defaultstyle.constructor.tagname ) {
- lParser = new styleparser(this,
{defaultstyle:this.defaultstyle.subnodes[this.increment], style:this.style});
+ lParser = new lz.styleparser(this,
{defaultstyle:this.defaultstyle.subnodes[this.increment], style:this.style});
} else if( this.style[this.defaultstyle.name] ) {
- lParser = new styleparser(this,
{defaultstyle:this.defaultstyle.subnodes[this.increment],
style:this.style[this.defaultstyle.name]});
+ lParser = new lz.styleparser(this,
{defaultstyle:this.defaultstyle.subnodes[this.increment],
style:this.style[this.defaultstyle.name]});
}
else {
this.style[this.defaultstyle.name] = this.defaultstyle;
this.style.subnodes.push(this.defaultstyle);
this.style.subviews.push(this.defaultstyle);
- lParser = new styleparser(this,
{defaultstyle:this.defaultstyle.subnodes[this.increment],
style:this.style[this.defaultstyle.subnodes[this.increment].name]});
+ lParser = new lz.styleparser(this,
{defaultstyle:this.defaultstyle.subnodes[this.increment],
style:this.style[this.defaultstyle.subnodes[this.increment].name]});
}
]]>
</method>
Modified: openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -207,7 +207,7 @@
function getTextFormat(beginindex, endindex) {
var flashformat = this.sprite.__LZtextclip.getTextFormat(beginindex,
endindex);
- var fmt = new textformat(this);
+ var fmt = new lz.textformat(this);
for (var i in flashformat) {
fmt[i] = flashformat[i];
@@ -298,7 +298,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/incubator/baseradio.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/baseradio.lzx 2008-03-17
13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/incubator/baseradio.lzx 2008-03-17
16:18:07 UTC (rev 8292)
@@ -25,7 +25,7 @@
<method name="createGroup" args="groupname,rb"><;
+ this._vs = new lz[classname](this,
+ { axis: "y",
+ scrollattr: "pos",
+ scrolltarget: this.inp,
+ init: vsinit});
}
</method>
@@ -127,7 +127,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/incubator/test/test-edittext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/test/test-edittext.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/incubator/test/test-edittext.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -57,7 +57,7 @@
width="100" height="75"
bgcolor="black" border="1" />
- <text>scrolledittext (new vscrollbar)</text>
+ <text>scrolledittext (new lz.vscrollbar)</text>
<scrolledittext id="et7" datapath="mydset2:/value/@text"
width="100" height="75"
bgcolor="black" border="1"
Modified: openlaszlo/trunk/lps/components/incubator/tooltipmanager.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/tooltipmanager.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/incubator/tooltipmanager.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -50,7 +50,7 @@
<handler name="oninit">
var tooltip = this.tooltip_obj");
if(tooltip == undefined || tooltip == null) {
- tooltip = new basetooltip(canvas);
+ tooltip = new lz.basetooltip(canvas);
this.setAttribute("tooltip_obj",tooltip);
}
tooltip.setAttribute("opacity",0);
Modified: openlaszlo/trunk/lps/components/lz/datepicker.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/datepicker.lzx 2008-03-17 13:05:08 UTC
(rev 8291)
+++ openlaszlo/trunk/lps/components/lz/datepicker.lzx 2008-03-17 16:18:07 UTC
(rev 8292)
@@ -461,7 +461,7 @@
<method name="addYears" args="start,end">
<![CDATA[
for( var i = start ; i <= end ; i++ ) {
- new datepickerlistitem( this, { text : i } );
+ new lz.datepickerlistitem( this, { text : i } );
}
]]>
</method>
@@ -540,7 +540,7 @@
</class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/lz/grid.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/grid.lzx 2008-03-17 13:05:08 UTC (rev
8291)
+++ openlaszlo/trunk/lps/components/lz/grid.lzx 2008-03-17 16:18:07 UTC (rev
8292)
@@ -26,7 +26,7 @@
value="placement : 'hcontent';axis:'x' ; spacing:-1"/>
<!--- @keywords private -->
- <attribute name="_columnclass" value="gridtext" />
+ <attribute name="_columnclass" value="lz.gridtext" />
<!--- @keywords private -->
<scrollbar placement="content" name="_scrx"/>
@@ -83,7 +83,7 @@
</class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/lz/list.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/list.lzx 2008-03-17 13:05:08 UTC (rev
8291)
+++ openlaszlo/trunk/lps/components/lz/list.lzx 2008-03-17 16:18:07 UTC (rev
8292)
@@ -120,7 +120,7 @@
Debug.write("scrollbarclassname undefined", this);
}
}
- this._sbar = new global[classname](this, { stepsize: "20"
});
+ this._sbar = new lz[classname](this, { stepsize: "20" });
}
</method>
@@ -363,7 +363,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/lz/menu.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/menu.lzx 2008-03-17 13:05:08 UTC (rev
8291)
+++ openlaszlo/trunk/lps/components/lz/menu.lzx 2008-03-17 16:18:07 UTC (rev
8292)
@@ -508,7 +508,7 @@
// of the menubutton by default ( the floating list is
// canvas-aware and will try to display itself below the
menubutton ).
// if this does not work, then it will try above it.
- this.flist = new menufloatinglist(this,
+ this.flist = new lz.menufloatinglist(this,
{ attach:'bottom',
attachoffset:-2,
width:w,
@@ -518,7 +518,7 @@
// menu's parent is a menuitem so attach the floatinglist to
// the right ( again canvas-aware will try right but display
left
// if necessary )
- this.flist = new menufloatinglist(this,
+ this.flist = new lz.menufloatinglist(this,
{ attach:'right',
width:w,
issubmenu:true,
@@ -527,7 +527,7 @@
// menu's parent is some other type of view so attach the
// floatinglist to the value of 'attach' attribute
var atch = this.attach;
- this.flist = new menufloatinglist(this,
+ this.flist = new lz.menufloatinglist(this,
{ attach:atch,
width:w,
shadowcrn:1 }, this._menuitems);
@@ -541,7 +541,7 @@
// Since the parent is a menubar ...
// Create a menubutton and have the menu keep a reference to
it.
- this._menubutton = new menubutton( parent,{text:this.text},
null, false);
+ this._menubutton = new lz.menubutton( parent,{text:this.text},
null, false);
//Likewise, have the menubutton keep a reference to this menu
this._menubutton._menuref = this;
@@ -561,7 +561,7 @@
} else if ( parent instanceof lz.menuitem ) {
// insert an arrow into the target
- new menuarrow( this._flisttarget, { name:'_menuarrow' } );
+ new lz.menuarrow( this._flisttarget, { name:'_menuarrow' } );
// have the menuitem keep a reference to its submenu
this.parent._submenu = this;
@@ -797,7 +797,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/lzunit/lzunit.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lzunit/lzunit.lzx 2008-03-17 13:05:08 UTC
(rev 8291)
+++ openlaszlo/trunk/lps/components/lzunit/lzunit.lzx 2008-03-17 16:18:07 UTC
(rev 8292)
@@ -295,7 +295,7 @@
-->
<method name="setResult" args="theTestResult">
if (typeof(theTestResult) == "undefined") {
- theTestResult = new TestResult();
+ theTestResult = new lz.TestResult();
} else {
this.result = theTestResult;
}
Modified: openlaszlo/trunk/lps/components/queens-charts/linechart.lzx
===================================================================
--- openlaszlo/trunk/lps/components/queens-charts/linechart.lzx 2008-03-17
13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/queens-charts/linechart.lzx 2008-03-17
16:18:07 UTC (rev 8292)
@@ -364,7 +364,7 @@
var labelheight = 15;
if(ld.labeldata[i] != null){
var ltext = ld.labeldata[i];
- new label(dataclip.datapane,
{height:labelheight,
+ new lz.label(dataclip.datapane,
{height:labelheight,
x:xposit, labelnumber:i, y:yposit -
labelheight - 3,
bgcolor:lbcolor, name:"label"+j+i,
fadein:false,
ltext:ltext, labelset:j,
ltextsize:ltxtsize,
Modified: openlaszlo/trunk/lps/components/queens-charts/piechart.lzx
===================================================================
--- openlaszlo/trunk/lps/components/queens-charts/piechart.lzx 2008-03-17
13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/queens-charts/piechart.lzx 2008-03-17
16:18:07 UTC (rev 8292)
@@ -95,8 +95,8 @@
} else {
popac = subnodes[dnode].subviews[j].dataopacity;
}
- new wrappinglayout(this.datapane,
{spacing:this.piespacing});
- new wholepie(this.datapane, {name:'pie'+j,
width:piespacewidth, height:piespaceheight,
+ new lz.wrappinglayout(this.datapane,
{spacing:this.piespacing});
+ new lz.wholepie(this.datapane, {name:'pie'+j,
width:piespacewidth, height:piespaceheight,
pienumber:j, allpies:snum, pievalue:pievalue,
piecevalues:subnodes[dnode].subviews[j].xdata,
colorvalues:bcolor, borderwidths:borderw,
opacvalues:popac,
Modified:
openlaszlo/trunk/lps/components/queens-charts/shared/barchartbacking.lzx
===================================================================
--- openlaszlo/trunk/lps/components/queens-charts/shared/barchartbacking.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/queens-charts/shared/barchartbacking.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -253,7 +253,7 @@
} else {
offsetter = Math.abs(parent.minimum %
parent.hgridspacing) * -1;
}
- new ticklabel(this.vtickclip.vtickpane,
+ new lz.ticklabel(this.vtickclip.vtickpane,
{y:this.height + parent.vticklength + 2,
x:maxoffset, charttype:'bar',
ltext:parent.minimum + (parent.hgridspacing *
i) + offsetter,
@@ -350,7 +350,7 @@
} else {
offsetter = Math.abs(parent.minimum %
parent.hgridspacing) * -1;
}
- new ticklabel(this.htickclip.htickpane,
+ new lz.ticklabel(this.htickclip.htickpane,
{x:this.htickclip.width,
y:this.height + maxoffset,
ltext:parent.minimum + (parent.hgridspacing *
i) + offsetter,
@@ -470,7 +470,7 @@
</class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
-<!-- @LZX_VERSION@ -->
\ No newline at end of file
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/queens-charts/shared/legend.lzx
===================================================================
--- openlaszlo/trunk/lps/components/queens-charts/shared/legend.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/queens-charts/shared/legend.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -132,7 +132,7 @@
var litemwidth = parent.expanded ? 80 : 30;
var litemheight = parent.expanded ? 14 : 8;
if(this.ltitle != null){
- new legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
+ new lz.legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
ttsize:(parent.expanded ? this.titletextsize : 10),
tcolor:this.titlecolor});
}
this.setWidth(litemwidth * numcols);
@@ -153,7 +153,7 @@
var litemwidth = parent.expanded ? 80 : 30;
var litemheight = parent.expanded ? 14 : 8;
if(this.ltitle != null){
- new legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
+ new lz.legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
ttsize:(parent.expanded ? this.titletextsize : 10),
tcolor:this.titlecolor});
}
this.setWidth(litemwidth * numcols);
@@ -185,7 +185,7 @@
var numrows = Math.ceil(this.itemnums / numcols);
}
if(this.ltitle != null){
- new legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
+ new lz.legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
ttsize:(parent.expanded ? this.titletextsize : 10),
tcolor:this.titlecolor});
}
var litemwidth = (this.width / numcols);
@@ -194,7 +194,7 @@
for(var i = 0; i < this.piepieces.length; i++){
var pclink = this.piepieces[i];
- new legenditem(this, {itemvalue:parent[pclink]['piecevalue'],
+ new lz.legenditem(this,
{itemvalue:parent[pclink]['piecevalue'],
lpiece:this.piepieces[i], width:litemwidth,
hlcolor:(this.hlcolor == null ? this.backcolor :
this.hlcolor),
height:litemheight, iconcolor:this.piececolors[i],
@@ -256,7 +256,7 @@
var litemwidth = (this.width / numcols);
var litemheight = (this.height / numrows);
if(this.ltitle != null){
- new legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
+ new lz.legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
ttsize:this.titletextsize, tcolor:this.titlecolor});
}
@@ -286,7 +286,7 @@
//itemlabel = ll.legenddatapath;
}
if(itemlabel != null){
- new legenditem(this, {itemvalue:itemlabel,
+ new lz.legenditem(this, {itemvalue:itemlabel,
width:litemwidth, height:litemheight, dlink:ll,
hlcolor:(this.hlcolor == null ? this.backcolor :
this.hlcolor),
height:this.height, iconcolor:iconcolor,
textcolor:this.textcolor,
@@ -302,7 +302,7 @@
var litemwidth = 80;
var litemheight = 14;
if(this.ltitle != null){
- new legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
+ new lz.legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
ttsize:this.titletextsize, tcolor:this.titlecolor});
}
this.setWidth(litemwidth * numcols);
@@ -334,7 +334,7 @@
//itemlabel = ll.legenddatapath;
}
if(itemlabel != null){
- new legenditem(this, {itemvalue:itemlabel,
+ new lz.legenditem(this, {itemvalue:itemlabel,
width:litemwidth, height:litemheight, dlink:ll,
hlcolor:(this.hlcolor == null ? this.backcolor :
this.hlcolor),
height:this.height, iconcolor:iconcolor,
textcolor:this.textcolor,
@@ -350,7 +350,7 @@
var litemwidth = 80;
var litemheight = 14;
if(this.ltitle != null){
- new legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
+ new lz.legendtitle(this, {name:'legendtitle',
ltitle:this.ltitle, tposit:this.titleposition,
ttsize:this.titletextsize, tcolor:this.titlecolor});
}
this.setWidth(litemwidth * numcols);
@@ -382,7 +382,7 @@
//itemlabel = ll.legenddatapath;
}
if(itemlabel != null){
- new legenditem(this, {itemvalue:itemlabel,
+ new lz.legenditem(this, {itemvalue:itemlabel,
width:litemwidth, height:litemheight, dlink:ll,
hlcolor:(this.hlcolor == null ? this.backcolor :
this.hlcolor),
height:this.height, iconcolor:iconcolor,
textcolor:this.textcolor,
Modified:
openlaszlo/trunk/lps/components/queens-charts/shared/linechartbacking.lzx
===================================================================
--- openlaszlo/trunk/lps/components/queens-charts/shared/linechartbacking.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/queens-charts/shared/linechartbacking.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -209,7 +209,7 @@
} else {
offsetter = Math.abs(parent.altminimum %
parent.vgridspacing) * -1;
}
- new ticklabel(this.vtickclip.vtickpane,
+ new lz.ticklabel(this.vtickclip.vtickpane,
{y:this.height + parent.vticklength + 2,
x:vlinesetter + maxoffset,
ltext:parent.altminimum + (parent.vgridspacing *
i) + offsetter,
@@ -262,7 +262,7 @@
} else {
offsetter = Math.abs(parent.minimum %
parent.hgridspacing) * -1;
}
- new ticklabel(this.htickclip.htickpane,
+ new lz.ticklabel(this.htickclip.htickpane,
{x:this.htickclip.width,
y:this.height + maxoffset,
ltext:parent.minimum + (parent.hgridspacing * i) +
offsetter,
@@ -342,7 +342,7 @@
</class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
-<!-- @LZX_VERSION@ -->
\ No newline at end of file
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/queens-charts/shared/wholepie.lzx
===================================================================
--- openlaszlo/trunk/lps/components/queens-charts/shared/wholepie.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/queens-charts/shared/wholepie.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -333,7 +333,7 @@
}
}
if(this.drawbg != null){
- new backcircle(this, {name:'bgcircle', drawbg:this.drawbg,
+ new lz.backcircle(this, {name:'bgcircle', drawbg:this.drawbg,
drawbgborder:this.drawbgborder,
bgborderwidth:this.bgborderwidth,
ctrx:ctrx, ctry:ctry, pieradius:pieradius})
}
@@ -348,7 +348,7 @@
var piecestart = (totaltonow / this.pievalue);
}
var adjradius = pieradius + (pieradius * (this.corrrad[k] /
100));
- new piepiece(this, {centerx:ctrx, centery:ctry,
piececolor:this.corrcolors[k],
+ new lz.piepiece(this, {centerx:ctrx, centery:ctry,
piececolor:this.corrcolors[k],
bordercolor:this.corrborder[k], pieceradius:adjradius,
piecepercent:pieceperc, startpercent:piecestart,
borderwidth:this.corrbwidth[k],
pieceopacity:this.corropac[k], explode:this.explode, name:'pp'+k,
piecevalue:corrvalues[k]});
@@ -358,7 +358,7 @@
var eposit = sposit + ((2 * Math.PI) * (pieceperc / 2));
var sx = ctrx - (adjradius * .7) * Math.cos(((2 * Math.PI)
/ 2) - eposit);
var sy = ctry - (adjradius * .7) * Math.sin(eposit);
- new label(this, {height:16,
+ new lz.label(this, {height:16,
y:sy, x:sx, bgcolor:this.corrlabelcolor[k],
ltext:this.corrlabel[k], labelnumber:k,
ltextsize:(this.expanded ? this.corrlabeltsize[k] :
10),
@@ -387,7 +387,7 @@
ppccount++;
}
}
- new chartlegend(this, {border:this.lborder,
borderwidth:this.lborderwidth, backcolor:this.lbgcolor,
+ new lz.chartlegend(this, {border:this.lborder,
borderwidth:this.lborderwidth, backcolor:this.lbgcolor,
hlcolor:this.lhlcolor, itemnums:litems,
charttype:'pie', posit:this.legend, piepieces:ppc,
ltitle:this.ltitle, pieradius:pieradius, centerx:ctrx,
centery:ctry, piececolors:corrcolors,
legendvalues:this.corrlegend, legendx:this.legendx,
legendy:this.legendy,
@@ -416,7 +416,7 @@
lx = (ctrx + pieradius) + (this.width - ctrx -
pieradius - lwid) / 2;
lholder = 'manualright';
}
- new chartlegend(this, {border:this.lborder,
borderwidth:this.lborderwidth, backcolor:this.lbgcolor,
+ new lz.chartlegend(this, {border:this.lborder,
borderwidth:this.lborderwidth, backcolor:this.lbgcolor,
itemnums:0, charttype:'pie', posit:lholder,
ltitle:this.ltitle, pieradius:pieradius,
centerx:ctrx, centery:ctry,
legendvalues:this.corrlegend, legendx:lx,
legendy:ly, legendwidth:lwid, legendheight:lhigh,
titleposition:this.legendtitleposition})
Modified:
openlaszlo/trunk/lps/components/utils/diagnostic/inspector/inspector.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/diagnostic/inspector/inspector.lzx
2008-03-17 13:05:08 UTC (rev 8291)
+++ openlaszlo/trunk/lps/components/utils/diagnostic/inspector/inspector.lzx
2008-03-17 16:18:07 UTC (rev 8292)
@@ -139,7 +139,7 @@
show = false;
}
}
- if (show) new item(this.children, {reference: nodes[i],
root:this.root});
+ if (show) new lz.item(this.children, {reference: nodes[i],
root:this.root});
}
setAttribute('open', true);
} else {
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins