define(["ezekw$$dojo/mobile/widgets/eze$$DojoMobileButton", "ezekw$$dojo/mobile/widgets/eze$$DojoMobileTab", "org/eclipse/edt/rui/widgets/TextLabel", "org/eclipse/edt/rui/widgets/GridLayoutData", "eglx/ui/rui/eze$$Event", "ezekw$$dojo/mobile/widgets/eze$$DojoMobileView", "ezekw$$dojo/mobile/widgets/eze$$DojoMobileTabContainer", "eglx/ui/rui/eze$$View", "org/eclipse/edt/rui/widgets/GridLayout", "org/eclipse/edt/rui/widgets/Box"],function(){
egl.loadCSS("css/org.eclipse.edu.rui.dojo.mobile.sampleApp.css");
egl.defineRUIHandler("dojo.mobile.samples.perwidget", "DojoMobileTabContainerSample", {
"eze$$fileName" : "dojo/mobile/samples/perwidget/DojoMobileTabContainerSample.egl",
"eze$$runtimePropertiesFile" : "dojo/mobile/samples/perwidget/DojoMobileTabContainerSample",
"constructor": function() {
this.eze$$setInitial();
this.start();
}
,
"eze$$setEmpty": function() {
this.View = new egl.dojo.mobile.widgets.DojoMobileView();
this.GridLayout = new egl.org.eclipse.edt.rui.widgets.GridLayout();
this.TextLabel = new egl.org.eclipse.edt.rui.widgets.TextLabel();
this.m_tabContainer = new egl.dojo.mobile.widgets.DojoMobileTabContainer();
this.GridLayout1 = new egl.org.eclipse.edt.rui.widgets.GridLayout();
this.TextLabel1 = new egl.org.eclipse.edt.rui.widgets.TextLabel();
this.GridLayout2 = new egl.org.eclipse.edt.rui.widgets.GridLayout();
this.Button = new egl.dojo.mobile.widgets.DojoMobileButton();
this.Button1 = new egl.dojo.mobile.widgets.DojoMobileButton();
this.Button2 = new egl.dojo.mobile.widgets.DojoMobileButton();
this.Box = new egl.org.eclipse.edt.rui.widgets.Box();
this.Box1 = new egl.org.eclipse.edt.rui.widgets.Box();
this.TextLabel2 = new egl.org.eclipse.edt.rui.widgets.TextLabel();
this.TextLabel3 = new egl.org.eclipse.edt.rui.widgets.TextLabel();
}
,
"eze$$setInitial": function() {
try { egl.enter("<init>",this,arguments);
this.eze$$setEmpty();
egl.atLine(this.eze$$fileName,37,1776,15, this);
this.View.setSelected(true);
egl.atLine(this.eze$$fileName,37,1793,47, this);
this.View.setHeaderTitle("EGL Mobile Tab Container Sample");
egl.atLine(this.eze$$fileName,39,1881,25, this);
this.View.setChildren([egl.eglx.lang.convert(egl.eglx.ui.rui.Widget.fromWidget, [this.GridLayout,"org.eclipse.edt.rui.widgets.GridLayout"])].setType("[org.eclipse.edt.rui.widgets.GridLayout"));
egl.atLine(this.eze$$fileName,41,1936,15, this);
this.GridLayout.setCellPadding(4);
egl.atLine(this.eze$$fileName,41,1953,8, this);
this.GridLayout.setRows(2);
egl.atLine(this.eze$$fileName,41,1963,11, this);
this.GridLayout.setColumns(1);
egl.atLine(this.eze$$fileName,42,1979,40, this);
this.GridLayout.setChildren([egl.eglx.lang.convert(egl.eglx.ui.rui.Widget.fromWidget, [this.m_tabContainer,"dojo.mobile.widgets.DojoMobileTabContainer"]), egl.eglx.lang.convert(egl.eglx.ui.rui.Widget.fromWidget, [this.TextLabel,"org.eclipse.edt.rui.widgets.TextLabel"])].setType("[eglx.ui.rui.Widget"));
var eze$LNNTemp1 = null;
{
var eze$SettingTarget1 = new egl.org.eclipse.edt.rui.widgets.GridLayoutData();
egl.atLine(this.eze$$fileName,43,2059,41, this);
eze$SettingTarget1 = egl.eglx.lang.AnyValue.ezeCopyTo(new egl.org.eclipse.edt.rui.widgets.GridLayoutData(), eze$SettingTarget1);
egl.atLine(this.eze$$fileName,43,2079,7, this);
eze$SettingTarget1.row = 1;
egl.atLine(this.eze$$fileName,43,2088,10, this);
eze$SettingTarget1.column = 1;
egl.atLine(this.eze$$fileName,43,2059,41, this);
eze$LNNTemp1 = egl.eglx.lang.AnyValue.ezeCopyTo(eze$SettingTarget1, eze$LNNTemp1);
}
egl.atLine(this.eze$$fileName,43,2046,54, this);
this.TextLabel.setLayoutData(egl.eglx.lang.convert(egl.eglx.lang.EAny.fromEAny, [eze$LNNTemp1.eze$$clone(),"Torg/eclipse/edt/rui/widgets/gridlayoutdata;"]));
egl.atLine(this.eze$$fileName,44,2105,211, this);
this.TextLabel.setText("This sample is to show the usage of tab container. You are able to dynamicly add, remove & select a tab through the tab container object. Also each tab is a view container where you can add child widgets.");
var eze$LNNTemp2 = null;
{
var eze$SettingTarget1 = new egl.org.eclipse.edt.rui.widgets.GridLayoutData();
egl.atLine(this.eze$$fileName,45,2374,41, this);
eze$SettingTarget1 = egl.eglx.lang.AnyValue.ezeCopyTo(new egl.org.eclipse.edt.rui.widgets.GridLayoutData(), eze$SettingTarget1);
egl.atLine(this.eze$$fileName,45,2394,7, this);
eze$SettingTarget1.row = 2;
egl.atLine(this.eze$$fileName,45,2403,10, this);
eze$SettingTarget1.column = 1;
egl.atLine(this.eze$$fileName,45,2374,41, this);
eze$LNNTemp2 = egl.eglx.lang.AnyValue.ezeCopyTo(eze$SettingTarget1, eze$LNNTemp2);
}
egl.atLine(this.eze$$fileName,45,2361,54, this);
this.m_tabContainer.setLayoutData(egl.eglx.lang.convert(egl.eglx.lang.EAny.fromEAny, [eze$LNNTemp2.eze$$clone(),"Torg/eclipse/edt/rui/widgets/gridlayoutdata;"]));
egl.atLine(this.eze$$fileName,46,2419,13, this);
this.m_tabContainer.setSelection(1);
var eze$LNNTemp5 = null;
{
var eze$SettingTarget1;
egl.atLine(this.eze$$fileName,50,2585,59, this);
eze$SettingTarget1 = (function () {
var eze$Temp6 = new egl.dojo.mobile.widgets.DojoMobileTab();
return eze$Temp6;
}).call(this);
egl.atLine(this.eze$$fileName,50,2605,17, this);
eze$SettingTarget1.setTitle("Topic 3");
egl.atLine(this.eze$$fileName,50,2624,19, this);
eze$SettingTarget1.setChildren([egl.eglx.lang.convert(egl.eglx.ui.rui.Widget.fromWidget, [this.Box1,"org.eclipse.edt.rui.widgets.Box"])].setType("[org.eclipse.edt.rui.widgets.Box"));
egl.atLine(this.eze$$fileName,50,2585,59, this);
eze$LNNTemp5 = eze$SettingTarget1;
}
var eze$LNNTemp4 = null;
{
var eze$SettingTarget1;
egl.atLine(this.eze$$fileName,49,2522,58, this);
eze$SettingTarget1 = (function () {
var eze$Temp7 = new egl.dojo.mobile.widgets.DojoMobileTab();
return eze$Temp7;
}).call(this);
egl.atLine(this.eze$$fileName,49,2542,17, this);
eze$SettingTarget1.setTitle("Topic 2");
egl.atLine(this.eze$$fileName,49,2561,18, this);
eze$SettingTarget1.setChildren([egl.eglx.lang.convert(egl.eglx.ui.rui.Widget.fromWidget, [this.Box,"org.eclipse.edt.rui.widgets.Box"])].setType("[org.eclipse.edt.rui.widgets.Box"));
egl.atLine(this.eze$$fileName,49,2522,58, this);
eze$LNNTemp4 = eze$SettingTarget1;
}
var eze$LNNTemp3 = null;
var eze$LNNTemp12 = null;
{
var eze$SettingTarget1 = new egl.org.eclipse.edt.rui.widgets.GridLayoutData();
egl.atLine(this.eze$$fileName,55,2801,41, this);
eze$SettingTarget1 = egl.eglx.lang.AnyValue.ezeCopyTo(new egl.org.eclipse.edt.rui.widgets.GridLayoutData(), eze$SettingTarget1);
egl.atLine(this.eze$$fileName,55,2821,7, this);
eze$SettingTarget1.row = 1;
egl.atLine(this.eze$$fileName,55,2830,10, this);
eze$SettingTarget1.column = 1;
egl.atLine(this.eze$$fileName,55,2801,41, this);
eze$LNNTemp12 = egl.eglx.lang.AnyValue.ezeCopyTo(eze$SettingTarget1, eze$LNNTemp12);
}
var eze$LNNTemp11 = null;
{
var eze$SettingTarget1 = new egl.org.eclipse.edt.rui.widgets.GridLayoutData();
egl.atLine(this.eze$$fileName,58,3086,41, this);
eze$SettingTarget1 = egl.eglx.lang.AnyValue.ezeCopyTo(new egl.org.eclipse.edt.rui.widgets.GridLayoutData(), eze$SettingTarget1);
egl.atLine(this.eze$$fileName,58,3106,7, this);
eze$SettingTarget1.row = 1;
egl.atLine(this.eze$$fileName,58,3115,10, this);
eze$SettingTarget1.column = 1;
egl.atLine(this.eze$$fileName,58,3086,41, this);
eze$LNNTemp11 = egl.eglx.lang.AnyValue.ezeCopyTo(eze$SettingTarget1, eze$LNNTemp11);
}
var eze$LNNTemp10 = null;
{
没有合适的资源?快使用搜索试试~ 我知道了~
手机应用开发范例程序v2
共54个文件
js:23个
egl:11个
eglxml:11个
4星 · 超过85%的资源 需积分: 8 10 下载量 49 浏览量
2012-04-16
17:29:46
上传
评论
收藏 144KB ZIP 举报
温馨提示
完整的手机应用开发范例程序,用EGL开发淘宝手机应用客户端。2012-4-16日更新。
资源推荐
资源详情
资源评论
收起资源包目录
EGL Dojo Mobile Widget Samples v2.zip (54个子文件)
org.eclipse.edt.rui.dojo.mobile.samples.nightly
EGLSource
org_eclipse_edt_rui_dojo_mobile_samples.egldd 3KB
dojo
mobile
samples
perwidget
DojoMobileListSample.egl 5KB
DojoMobileListItemSample.egl 5KB
DojoMobileCheckBoxSample.egl 2KB
DojoMobileListCategorySample.egl 3KB
DojoMobileViewSample.egl 3KB
DojoMobileSliderSample.egl 2KB
DojoMobileButtonSample.egl 2KB
DojoMobileSwitchSample.egl 2KB
DojoMobileTabContainerSample.egl 5KB
DojoMobileAdvancedViewSample.egl 3KB
DojoMobileTabSample.egl 2KB
EGLBin
org_eclipse_edt_rui_dojo_mobile_samples.egldd 3KB
dojo
mobile
samples
perwidget
dojomobileslidersample.eglxml 44KB
dojomobilecheckboxsample.eglxml 47KB
dojomobilelistsample.eglxml 131KB
dojomobilelistitemsample.eglxml 153KB
dojomobiletabcontainersample.eglxml 127KB
dojomobileswitchsample.eglxml 35KB
dojomobileviewsample.eglxml 69KB
dojomobiletabsample.eglxml 49KB
dojomobilebuttonsample.eglxml 21KB
dojomobilelistcategorysample.eglxml 59KB
dojomobileadvancedviewsample.eglxml 71KB
bin
.classpath 427B
javascriptDev
ezekw$$dojo
mobile
samples
perwidget
DojoMobileAdvancedViewSample.js 19KB
DojoMobileListSample.js 24KB
DojoMobileTabSample.js 9KB
DojoMobileViewSample.js 13KB
DojoMobileButtonSample.js 6KB
DojoMobileListItemSample.js 24KB
DojoMobileTabContainerSample.js 28KB
DojoMobileCheckBoxSample.js 12KB
DojoMobileListCategorySample.js 12KB
DojoMobileSliderSample.js 10KB
DojoMobileSwitchSample.js 9KB
.settings
org.eclipse.core.resources.prefs 87B
org.eclipse.edt.ide.core.prefs 361B
generatedJavaScript
ezekw$$dojo
mobile
samples
perwidget
DojoMobileAdvancedViewSample.js 14KB
DojoMobileListSample.js 16KB
DojoMobileTabSample.js 6KB
DojoMobileViewSample.js 8KB
DojoMobileButtonSample.js 4KB
DojoMobileListItemSample.js 16KB
DojoMobileTabContainerSample.js 19KB
DojoMobileCheckBoxSample.js 8KB
DojoMobileListCategorySample.js 8KB
DojoMobileSliderSample.js 6KB
DojoMobileSwitchSample.js 6KB
.eglPath 303B
WebContent
icons
css
org.eclipse.edt.rui.dojo.mobile.samples_0.7.0.css 0B
utils
egl-mobile.profile.js 818B
properties
.project 900B
deploy.xml 1KB
共 54 条
- 1
资源评论
- 尘风记忆2012-08-02比较完整的一个例子,对我很有帮助
RationalGroup
- 粉丝: 57
- 资源: 26
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
- 基于MIC+NE555光敏电阻的声光控电路Multisim仿真原理图
- 基于JSP毕业设计-基于WEB操作系统课程教学网站的设计与实现(源代码+论文).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功