define(["org/eclipse/edt/rui/widgets/GridLayoutData", "ezekw$$dojo/mobile/widgets/eze$$DojoMobileButton", "eglx/ui/rui/eze$$Event", "org/eclipse/edt/rui/widgets/GridLayout", "org/eclipse/edt/rui/widgets/Box", "org/eclipse/edt/rui/widgets/TextLabel", "ezekw$$dojo/mobile/widgets/eze$$DojoMobileTabContainer", "eglx/ui/rui/eze$$View", "ezekw$$dojo/mobile/widgets/eze$$DojoMobileTab", "ezekw$$dojo/mobile/widgets/eze$$DojoMobileView"],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;
{
没有合适的资源?快使用搜索试试~ 我知道了~
手机应用开发范例程序v3
共80个文件
js:32个
eglxml:16个
egl:15个
需积分: 10 71 下载量 198 浏览量
2012-04-25
10:35:49
上传
评论 1
收藏 198KB ZIP 举报
温馨提示
完整的手机应用开发范例程序,用EGL开发淘宝手机应用客户端。2012-4-25日更新。
资源推荐
资源详情
资源评论
收起资源包目录
Samples v3.zip (80个子文件)
org.eclipse.edt.rui.dojo.mobile.samples.nightly
EGLSource
org_eclipse_edt_rui_dojo_mobile_samples.egldd 3KB
dojo
mobile
samples
perwidget
DojoMobileButtonSample.egl 2KB
DojoMobileListSample.egl 5KB
DojoMobileListCategorySample.egl 3KB
DojoMobileViewSample.egl 3KB
DojoMobileListItemSample.egl 5KB
DojoMobileCheckBoxSample.egl 2KB
DojoMobileTabSample.egl 2KB
DojoMobileAdvancedViewSample.egl 3KB
DojoMobileTabContainerSample.egl 5KB
DojoMobileSwitchSample.egl 2KB
DojoMobileDatePickerSample.egl 3KB
DojoMobileSliderSample.egl 2KB
.project 900B
WebContent
properties
utils
egl-mobile.profile.js 818B
icons
css
org.eclipse.edt.rui.dojo.mobile.samples_0.7.0.css 0B
.settings
org.eclipse.core.resources.prefs 87B
org.eclipse.edt.ide.core.prefs 361B
javascriptDev
ezekw$$dojo
mobile
samples
perwidget
DojoMobileDatePickerSample.js 25KB
DojoMobileListItemSample.js 24KB
DojoMobileAdvancedViewSample.js 19KB
DojoMobileTabContainerSample.js 28KB
DojoMobileListCategorySample.js 12KB
DojoMobileButtonSample.js 6KB
DojoMobileTabSample.js 9KB
DojoMobileViewSample.js 13KB
DojoMobileSliderSample.js 10KB
DojoMobileListSample.js 24KB
DojoMobileSwitchSample.js 9KB
DojoMobileCheckBoxSample.js 12KB
.eglPath 303B
EGLBin
org_eclipse_edt_rui_dojo_mobile_samples.egldd 3KB
dojo
mobile
samples
perwidget
dojomobiletabcontainersample.eglxml 127KB
dojomobilelistcategorysample.eglxml 59KB
dojomobileswitchsample.eglxml 35KB
dojomobilelistsample.eglxml 131KB
dojomobilebuttonsample.eglxml 21KB
dojomobilelistitemsample.eglxml 153KB
dojomobileslidersample.eglxml 44KB
dojomobileadvancedviewsample.eglxml 71KB
dojomobiletabsample.eglxml 49KB
dojomobilecheckboxsample.eglxml 47KB
dojomobileviewsample.eglxml 69KB
dojomobiledatepickersample.eglxml 105KB
deploy.xml 2KB
.classpath 427B
generatedJavaScript
ezekw$$dojo
mobile
samples
perwidget
DojoMobileDatePickerSample.js 17KB
DojoMobileListItemSample.js 16KB
DojoMobileAdvancedViewSample.js 14KB
DojoMobileTabContainerSample.js 19KB
DojoMobileListCategorySample.js 8KB
DojoMobileButtonSample.js 4KB
DojoMobileTabSample.js 6KB
DojoMobileViewSample.js 8KB
DojoMobileSliderSample.js 6KB
DojoMobileListSample.js 16KB
DojoMobileSwitchSample.js 6KB
DojoMobileCheckBoxSample.js 8KB
bin
org.eclipse.edt.rui.phonegap.samples.nightly
EGLSource
uti
jsonsample.egl 1KB
jsonmain.egl 262B
phonegap
GeolocationSample.egl 3KB
org_eclipse_edt_rui_phonegap_samples_nightly.egldd 208B
.project 908B
WebContent
uti
jsonmain.js 642B
src
.settings
org.eclipse.core.resources.prefs 87B
org.eclipse.edt.ide.core.prefs 212B
javascriptDev
uti
eze$$jsonmain.js 609B
jsonsample.js 9KB
phonegap
GeolocationSample.js 18KB
.eglPath 384B
EGLBin
uti
callbackdict.eglxml 788B
jsonmain.eglxml 1KB
jsonsample.eglxml 29KB
phonegap
geolocationsample.eglxml 79KB
org_eclipse_edt_rui_phonegap_samples_nightly.egldd 208B
deploy.xml 2KB
.classpath 317B
generatedJavaScript
uti
eze$$jsonmain.js 609B
jsonsample.js 5KB
phonegap
GeolocationSample.js 11KB
bin
共 80 条
- 1
资源评论
RationalGroup
- 粉丝: 57
- 资源: 26
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).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
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功