当前位置: 首页>>代码示例>>Java>>正文


Java Widget.addDomHandler方法代码示例

本文整理汇总了Java中com.google.gwt.user.client.ui.Widget.addDomHandler方法的典型用法代码示例。如果您正苦于以下问题:Java Widget.addDomHandler方法的具体用法?Java Widget.addDomHandler怎么用?Java Widget.addDomHandler使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.google.gwt.user.client.ui.Widget的用法示例。


在下文中一共展示了Widget.addDomHandler方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addTouchOnImageStartHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchOnImageStartHandler(final TouchOnImageStartHandler touchStartHandler, Widget listenOn) {
    TouchStartHandlerOnImage touchStartHandlerOnImage = touchHandlerFactory.createTouchStartHandlerOnImage(touchStartHandler);
    listenOn.addDomHandler(touchStartHandlerOnImage, TouchStartEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:6,代码来源:TouchHandlersOnImageInitializer.java

示例2: addTouchOnImageMoveHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchOnImageMoveHandler(final TouchOnImageMoveHandler touchOnMoveHandler, Widget listenOn) {
    TouchMoveHandlerOnImage touchMoveHandlerOnImage = touchHandlerFactory.createTouchMoveHandlerOnImage(touchOnMoveHandler);
    listenOn.addDomHandler(touchMoveHandlerOnImage, TouchMoveEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:6,代码来源:TouchHandlersOnImageInitializer.java

示例3: addTouchOnImageEndHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchOnImageEndHandler(final TouchOnImageEndHandler touchEndHandler, Widget listenOn) {
    TouchEndHandlerOnImage touchEndHandlerOnImage = touchHandlerFactory.createTouchEndHandlerOnImage(touchEndHandler);
    listenOn.addDomHandler(touchEndHandlerOnImage, TouchEndEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:6,代码来源:TouchHandlersOnImageInitializer.java

示例4: addTouchOnImageMoveHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchOnImageMoveHandler(final TouchOnImageMoveHandler touchOnImageMoveHandler, Widget listenOn) {
    PointerMoveHandlerOnImage pointerOnImageMoveHandlerOnImage = touchHandlerFactory.createPointerMoveHandlerOnImage(touchOnImageMoveHandler);
    listenOn.addDomHandler(pointerOnImageMoveHandlerOnImage, PointerMoveEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:6,代码来源:PointerHandlersOnImageInitializer.java

示例5: addTouchOnImageStartHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchOnImageStartHandler(final TouchOnImageStartHandler touchOnImageStartHandler, Widget listenOn) {
    PointerDownHandlerOnImage pointerDownHandlerOnImage = touchHandlerFactory.createPointerDownHandlerOnImage(touchOnImageStartHandler);
    listenOn.addDomHandler(pointerDownHandlerOnImage, PointerDownEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:6,代码来源:PointerHandlersOnImageInitializer.java

示例6: addTouchOnImageEndHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchOnImageEndHandler(final TouchOnImageEndHandler touchOnImageEndHandler, Widget listenOn) {
    PointerUpHandlerOnImage pointerUpHandlerOnImage = touchHandlerFactory.createPointerUpHandlerOnImage(touchOnImageEndHandler);
    listenOn.addDomHandler(pointerUpHandlerOnImage, PointerUpEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:6,代码来源:PointerHandlersOnImageInitializer.java

示例7: addTouchMoveHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchMoveHandler(final TouchOnMoveHandler touchOnMoveHandler, Widget listenOn) {
    listenOn.addDomHandler(new TouchMoveHandlerImpl(touchOnMoveHandler), TouchMoveEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:5,代码来源:TouchHandlersInitializer.java

示例8: addTouchStartHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchStartHandler(final TouchOnStartHandler touchStartHandler, Widget listenOn) {
    listenOn.addDomHandler(new TouchStartHandlerImpl(touchStartHandler), TouchStartEvent.getType());

}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:6,代码来源:TouchHandlersInitializer.java

示例9: addTouchEndHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchEndHandler(final TouchOnEndHandler touchEndHandler, Widget listenOn) {
    listenOn.addDomHandler(new TouchEndHandlerImpl(touchEndHandler), TouchEndEvent.getType());

}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:6,代码来源:TouchHandlersInitializer.java

示例10: addTouchCancelHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchCancelHandler(final TouchOnCancelHandler touchCancelHandler, Widget listenOn) {
    listenOn.addDomHandler(new TouchCancelHandlerImpl(touchCancelHandler), TouchCancelEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:5,代码来源:TouchHandlersInitializer.java

示例11: addTouchMoveHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchMoveHandler(final TouchOnMoveHandler touchOnMoveHandler, Widget listenOn) {
    listenOn.addDomHandler(touchHandlerFactory.createPointerMoveHandler(touchOnMoveHandler), PointerMoveEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:5,代码来源:PointerHandlersInitializer.java

示例12: addTouchStartHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchStartHandler(final TouchOnStartHandler touchStartHandler, Widget listenOn) {
    listenOn.addDomHandler(touchHandlerFactory.createPointerDownHandler(touchStartHandler), PointerDownEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:5,代码来源:PointerHandlersInitializer.java

示例13: addTouchEndHandler

import com.google.gwt.user.client.ui.Widget; //导入方法依赖的package包/类
@Override
public void addTouchEndHandler(final TouchOnEndHandler touchEndHandler, Widget listenOn) {
    listenOn.addDomHandler(touchHandlerFactory.createPointerUpHandler(touchEndHandler), PointerUpEvent.getType());
}
 
开发者ID:YoungDigitalPlanet,项目名称:empiria.player,代码行数:5,代码来源:PointerHandlersInitializer.java


注:本文中的com.google.gwt.user.client.ui.Widget.addDomHandler方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。