GwtQuery GWT的jQuery框架

程序名称:GwtQuery

授权协议: Apache

操作系统: 跨平台

开发语言: Java

GwtQuery 介绍

GwtQuery 又被称为gQuery,是一个使用GWT编写的jQuery-like
API。允许GWT用在逐步增强的情景下,可能GWT部件过于重量级的地方。它同样可以用来查找和改善你的GWT部件。

GwtQuery
对于使用jQuery的开发者来说,易于学习,因为它们共享相同的API,除此之外,gquery增添了很好的特性,比如类型安全的CSS、编译时间最佳化等。

示例代码:

import static com.google.gwt.query.client.GQuery.*;  
import com.google.gwt.query.client.Function;

public void onModuleLoad() {  
  //Hide the text and set the width and append an h1 element  
  $("#text").hide()  
    .css("width", "400px")  
    .prepend("<h1>GwtQuery Rocks !</h1>");  
      
    //add a click handler on the button  
    $("button").click(new Function(){  
      public void f() {  
        //display the text with effects and animate its background color  
        $("#text").as(Effects)  
          .clipDown()  
          .animate("backgroundColor: 'yellow'", 500)  
          .delay(1000)  
          .animate("backgroundColor: '#fff'", 1500);  
      }  
    });  
}

GwtQuery 官网

http://code.google.com/p/gwtquery/

相关编程语言

MuPlayer 是一款跨平台、轻量级的音频播放解决方案,...
OS FLV 是一个 开源和可嵌入网页的flv播放器。 这个...
DewPlayer音乐播放器,样式很简单,而且很实用.播放器...
JW FLV MEDIA PLAYER是一个开源的在网页上使用的Fla...
Speakker 是一个基于 Web 浏览器的音乐播放器,只提...
Player Framework 是一个开源的支持 HTML5 的视频播...