本文整理汇总了Java中com.google.web.bindery.event.shared.Event.Type方法的典型用法代码示例。如果您正苦于以下问题:Java Event.Type方法的具体用法?Java Event.Type怎么用?Java Event.Type使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.google.web.bindery.event.shared.Event
的用法示例。
在下文中一共展示了Event.Type方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: register
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
public static <H> HandlerRegistration register(Event.Type<H> type, H handler) {
return get().addHandler(type, handler);
}
示例2: getType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
public static Event.Type<PagingChangeHandler> getType() {
if (TYPE == null) {
TYPE = new Event.Type<PagingChangeHandler>();
}
return TYPE;
}
示例3: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<PagingChangeHandler> getAssociatedType() {
return TYPE;
}
示例4: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<EntityDeletedHandler<Term>> getAssociatedType() {
return TYPE;
}
示例5: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<EntityDeletedHandler<Relationship>> getAssociatedType() {
return TYPE;
}
示例6: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<EntityUpdatedHandler<Synonym>> getAssociatedType() {
return TYPE;
}
示例7: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<EntityUpdatedHandler<Relationship>> getAssociatedType() {
return TYPE;
}
示例8: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<EntityDeletedHandler<Synonym>> getAssociatedType() {
return TYPE;
}
示例9: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<SearchHandler> getAssociatedType() {
return TYPE;
}
示例10: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<ViewTermHandler> getAssociatedType() {
return TYPE;
}
示例11: getAssociatedType
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
@Override
public Event.Type<EntityUpdatedHandler<Term>> getAssociatedType() {
return TYPE;
}
示例12: superGetHandlerCount
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
private int superGetHandlerCount(Event.Type<?> eventKey) {
return super.getHandlerCount(eventKey);
}
示例13: superIsEventHandled
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
private boolean superIsEventHandled(Event.Type<?> eventKey) {
return super.isEventHandled(eventKey);
}
示例14: addHandler
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
public HandlerRegistration addHandler(Event.Type type, EventHandler handler) {
return eventBus.addHandler(type, handler);
}
示例15: superDoRemove
import com.google.web.bindery.event.shared.Event; //导入方法依赖的package包/类
private <H> void superDoRemove(Event.Type<H> type, Object source, H handler) {
super.doRemove(type, source, handler);
}