vaadin-sizereporter-源码

上传者: 42175776 | 上传时间: 2021-06-08 18:05:02 | 文件大小: 82KB | 文件类型: ZIP
Vaadin SizeReporter 用法 Vaadin SizeReporter是一个附加 。 它至少需要 Vaadin 7。特别是它不适用于 Vaadin 6。要使用它,您必须编译自己的小部件集,使用预编译的小部件集不适用于此插件。 要在浏览中获取组件的大小,请创建一个 SizeReporter 实例: SizeReporter sizeReporter = new SizeReporter(component); 在浏览器中实现布局后,可以查询宽高: int width = sizeReporter.getWidth(); int height = sizeReporter.getWidth(); 构造组件时不能立即查询这些值。 要等待第一个大小报告和所有后续调整大小,请注册一个ComponentResizeListener sizeReporter.addResiz

文件下载

资源详情

[{"title":"( 43 个子文件 82KB ) vaadin-sizereporter-源码","children":[{"title":"vaadin-sizereporter-master","children":[{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"vaadin-sizereporter.iml <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"TestUi.java <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"ejt","children":[{"title":"vaadin","children":[{"title":"sizereporter","children":[{"title":"shared","children":[{"title":"SizeReporterRpc.java <span style='color:#111;'> 791B </span>","children":null,"spread":false},{"title":"SizeReporterConnector.java <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"ComponentResizeListener.java <span style='color:#111;'> 779B </span>","children":null,"spread":false},{"title":"SizeReporter.java <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"WidgetSet.gwt.xml <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"ComponentResizeEvent.java <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"artifacts","children":[{"title":"exploded_war.xml <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"libraries","children":[{"title":"Gradle__com_vaadin_external_json_json_0_0_20080701.xml <span style='color:#111;'> 573B </span>","children":null,"spread":false},{"title":"Gradle__com_vaadin_external_google_guava_16_0_1_vaadin1.xml <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"Gradle__javax_validation_validation_api_1_0_0_GA_sources.xml <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"Gradle__com_vaadin_external_flute_flute_1_3_0_gg2.xml <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"Gradle__com_vaadin_vaadin_shared_7_3_9.xml <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"Gradle__com_vaadin_external_streamhtmlparser_streamhtmlparser_jsilver_0_0_10_vaadin1.xml <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"Gradle__org_w3c_css_sac_1_3.xml <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"Gradle__org_jsoup_jsoup_1_6_3.xml <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"Gradle__com_vaadin_vaadin_themes_7_3_9.xml <span style='color:#111;'> 348B </span>","children":null,"spread":false},{"title":"Gradle__javax_validation_validation_api_1_0_0_GA.xml <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"Gradle__com_vaadin_vaadin_server_7_3_9.xml <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"Gradle__com_vaadin_vaadin_sass_compiler_0_9_10.xml <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"Gradle__com_vaadin_vaadin_client_7_3_9.xml <span style='color:#111;'> 541B </span>","children":null,"spread":false}],"spread":false},{"title":"misc.xml <span style='color:#111;'> 905B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 711B </span>","children":null,"spread":false},{"title":"gradle.xml <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"ant.xml <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 72.31KB </span>","children":null,"spread":false},{"title":"profiles_settings.xml <span style='color:#111;'> 235B </span>","children":null,"spread":false}],"spread":true},{"title":"modules.xml <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"scopes","children":[{"title":"scope_settings.xml <span style='color:#111;'> 139B </span>","children":null,"spread":false}],"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"Apache_2_0.xml <span style='color:#111;'> 923B </span>","children":null,"spread":false}],"spread":false},{"title":"vcs.xml <span style='color:#111;'> 221B </span>","children":null,"spread":false}],"spread":false},{"title":"web","children":[{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 824B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 49.82KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明