[jboss-cvs] jboss-profiler/java/webapp/lzx ...
Takuro Okada
t2-okada at nri.co.jp
Thu Dec 21 06:22:05 EST 2006
User: tokada
Date: 06/12/21 06:22:05
Modified: java/webapp/lzx Tag: JBossProfiler_Expansion
settingdialog.lzx loadingsplash.lzx
Added: java/webapp/lzx Tag: JBossProfiler_Expansion
popupmessage.lzx hintededittext.lzx
Log:
Added some functions.
Revision Changes Path
No revision
No revision
1.1.2.6 +15 -5 jboss-profiler/java/webapp/lzx/Attic/settingdialog.lzx
(In the diff below, changes in quantity of whitespace are not shown.)
Index: settingdialog.lzx
===================================================================
RCS file: /cvsroot/jboss/jboss-profiler/java/webapp/lzx/Attic/settingdialog.lzx,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -b -r1.1.2.5 -r1.1.2.6
--- settingdialog.lzx 15 Dec 2006 06:14:44 -0000 1.1.2.5
+++ settingdialog.lzx 21 Dec 2006 11:22:05 -0000 1.1.2.6
@@ -30,6 +30,7 @@
<library>
<include href="borderedpane.lzx"/>
+ <include href="hintededittext.lzx"/>
<dataset name="initializeData"
request="false" timeout="5000" type="http" querytype="POST"
@@ -168,6 +169,9 @@
</tabpane>
<!-- ##### Warning Tab ##### -->
<tabpane text="Warning" fontsize="10">
+ <view width="${parent.width}" height="${parent.height}">
+ </view>
+ <view>
<simplelayout axis="y" spacing="4"/>
<text>Execution Statistics</text>
<borderedpane x="${this.x+4}">
@@ -182,7 +186,8 @@
</checkbox>
<view width="4"/>
<text valign="middle">Threshold</text>
- <edittext name="threshold" width="100" height="22"/>
+ <hintededittext name="threshold" width="100" height="22"
+ hint="nano seconds" target="${classroot.searchSubviews('mdcontent')}"/>
<text valign="middle">Color</text>
<combobox name="color" width="60" editable="false">
<textlistitem text="red" value="0xff0000" selected="true"/>
@@ -199,7 +204,8 @@
</checkbox>
<view width="1"/>
<text valign="middle">Threshold</text>
- <edittext name="threshold" width="100" height="22"/>
+ <hintededittext name="threshold" width="100" height="22"
+ hint="frequency" target="${classroot.searchSubviews('mdcontent')}"/>
<text valign="middle">Color</text>
<combobox name="color" width="60" editable="false">
<textlistitem text="red" value="0xff0000" selected="true"/>
@@ -223,7 +229,8 @@
</checkbox>
<view width="1"/>
<text valign="middle">Threshold</text>
- <edittext name="threshold" width="100" height="22"/>
+ <hintededittext name="threshold" width="100" height="22"
+ hint="frequency" target="${classroot.searchSubviews('mdcontent')}"/>
<text valign="middle">Color</text>
<combobox name="color" width="60" editable="false">
<textlistitem text="red" value="0xff0000" selected="true"/>
@@ -247,7 +254,8 @@
</checkbox>
<view width="6"/>
<text valign="middle">Threshold</text>
- <edittext name="threshold" width="100" height="22"/>
+ <hintededittext name="threshold" width="100" height="22"
+ hint="bytes" target="${classroot.searchSubviews('mdcontent')}"/>
<text valign="middle">Color</text>
<combobox name="color" width="60" editable="false">
<textlistitem text="red" value="0xff0000" selected="true"/>
@@ -271,7 +279,8 @@
</checkbox>
<view width="3"/>
<text valign="middle">Threshold</text>
- <edittext name="threshold" width="100" height="22"/>
+ <hintededittext name="threshold" width="100" height="22"
+ hint="nano seconds" target="${classroot.searchSubviews('mdcontent')}"/>
<text valign="middle">Color</text>
<combobox name="color" width="60" editable="false">
<textlistitem text="red" value="0xff0000" selected="true"/>
@@ -281,6 +290,7 @@
</view>
</view>
</borderedpane>
+ </view>
</tabpane>
</tabs>
<button y="${parent.height-90}" align="center">Profile
1.1.2.2 +12 -8 jboss-profiler/java/webapp/lzx/Attic/loadingsplash.lzx
(In the diff below, changes in quantity of whitespace are not shown.)
Index: loadingsplash.lzx
===================================================================
RCS file: /cvsroot/jboss/jboss-profiler/java/webapp/lzx/Attic/loadingsplash.lzx,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- loadingsplash.lzx 26 Oct 2006 09:02:25 -0000 1.1.2.1
+++ loadingsplash.lzx 21 Dec 2006 11:22:05 -0000 1.1.2.2
@@ -30,24 +30,28 @@
<library>
<class name="loadingsplash" extends="borderedpane"
- x="${parent.width/2-this.width/2}" y="${parent.height/2-this.height/2}"
- width="200" height="20">
- <text name="label" align="center" valign="middle" font="vera" fontsize="12">Loading
+ x="${parent.width/2-this.width/2}" y="${parent.height/2-this.height/2}">
+ <view placement="contents" align="center">
+ <text name="label" fontsize="12">Loading
<animator name="blinker" attribute="opacity" motion="linear"
from="1" to="0" duration="200" repeat="Infinity" start="true"/>
</text>
+ </view>
+ <handler name="oninit">
+ this.updateWidth(160);
+ </handler>
<!--- @keywords private -->
<method name="_applystyle" args="s">
super._applystyle(s);
- this.label.setColor(s.bordercolor);
+ this.innerpane.contents.subviews[0].label.setColor(s.bordercolor);
</method>
<method name="close">
- this.label.blinker.stop();
+ this.innerpane.contents.subviews[0].label.blinker.stop();
this.setAttribute("visible", false);
</method>
<method name="restart">
this.setAttribute("visible", true);
- this.label.blinker.doStart();
+ this.innerpane.contents.subviews[0].label.blinker.doStart();
</method>
</class>
No revision
No revision
1.1.2.1 +41 -0 jboss-profiler/java/webapp/lzx/Attic/popupmessage.lzx
(In the diff below, changes in quantity of whitespace are not shown.)
Index: popupmessage.lzx
===================================================================
RCS file: popupmessage.lzx
diff -N popupmessage.lzx
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ popupmessage.lzx 21 Dec 2006 11:22:05 -0000 1.1.2.1
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2006, JBoss Inc., and individual contributors as indicated
+ by the @authors tag. See the copyright.txt in the distribution for a
+ full listing of individual contributors.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<!--
+
+ @author Takuro Okada (Nomura Research Institute, Ltd.)
+ Copyright 2006 Nomura Research Institute, Ltd. All Rights Reserved.
+ Copyright(c) Information-technology Promotion Agency, Japan. All rights reserved 2006.
+ Result of Open Source Software Development Activities of Information-technology Promotion Agency, Japan.
+-->
+<library>
+ <class name="popupmessage" extends="borderedpane"
+ padding="2">
+ <view placement="contents">
+ <text name="message" resize="true" fontsize="9" text=""/>
+ </view>
+ <method name="setMessage" args="message">
+ this.innerpane.contents.subviews[0].message.setText(message);
+ this.updateWidth(this.innerpane.contents.subviews[0].message.width);
+ </method>
+ </class>
+</library>
\ No newline at end of file
1.1.2.1 +52 -0 jboss-profiler/java/webapp/lzx/Attic/hintededittext.lzx
(In the diff below, changes in quantity of whitespace are not shown.)
Index: hintededittext.lzx
===================================================================
RCS file: hintededittext.lzx
diff -N hintededittext.lzx
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ hintededittext.lzx 21 Dec 2006 11:22:05 -0000 1.1.2.1
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2006, JBoss Inc., and individual contributors as indicated
+ by the @authors tag. See the copyright.txt in the distribution for a
+ full listing of individual contributors.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<!--
+
+ @author Takuro Okada (Nomura Research Institute, Ltd.)
+ Copyright 2006 Nomura Research Institute, Ltd. All Rights Reserved.
+ Copyright(c) Information-technology Promotion Agency, Japan. All rights reserved 2006.
+ Result of Open Source Software Development Activities of Information-technology Promotion Agency, Japan.
+-->
+<library>
+
+ <include href="popupmessage.lzx"/>
+
+ <class name="hintededittext" extends="edittext">
+ <attribute name="target" value="${this.classroot}"/>
+ <attribute name="hint" type="string"/>
+ <view width="${parent.width}" height="${parent.height}">
+ <handler name="onmouseover">
+ this.setAttribute("hinted", true);
+ var message = new popupmessage(classroot.target, {name:"pm", x:classroot.target.getMouse("x"), y:classroot.target.getMouse("y")-16});
+ message.setMessage(classroot.hint);
+ </handler>
+ <handler name="onmouseout">
+ classroot.target.searchSubnodes("name", "pm").destroy(true);
+ </handler>
+ <handler name="onclick">
+ LzFocus.setFocus(classroot);
+ </handler>
+ </view>
+ </class>
+
+</library>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list