本文整理了Java中com.google.gwt.user.client.ui.Widget.fireEvent()
方法的一些代码示例,展示了Widget.fireEvent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Widget.fireEvent()
方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.Widget
类名称:Widget
方法名:fireEvent
暂无
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Fires an event on a child widget. Used to delegate the handling of an event
* from one widget to another.
*
* @param event the event
* @param target fire the event on the given target
*/
protected void delegateEvent(Widget target, GwtEvent<?> event) {
target.fireEvent(event);
}
代码示例来源:origin: com.googlecode.gwtupload/gwtupload
public void onMouseOut(MouseOutEvent event) {
if (button != null) {
button.fireEvent(event);
}
}
});
代码示例来源:origin: com.googlecode.mgwt/mgwt
@Override
public void fireEvent(GwtEvent<?> event) {
w.fireEvent(event);
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Fires an event on a child widget. Used to delegate the handling of an event
* from one widget to another.
*
* @param event the event
* @param target fire the event on the given target
*/
protected void delegateEvent(Widget target, GwtEvent<?> event) {
target.fireEvent(event);
}
代码示例来源:origin: errai/errai
@Override
public void fireEvent(final GwtEvent<?> event) {
widget.fireEvent(event);
}
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
/**
* Can be override by subclasses to handle Tooltip's "hide" event however
* it's recommended to add an event handler to the tooltip.
*
* @param evt Event
* @see org.gwtbootstrap3.client.shared.event.HideEvent
*/
protected void onHide(final Event evt) {
widget.fireEvent(new HideEvent(evt));
}
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
/**
* Can be override by subclasses to handle Tooltip's "inserted" event however
* it's recommended to add an event handler to the tooltip.
*
* @param evt Event
* @see org.gwtbootstrap3.client.shared.event.InsertedEvent
*/
protected void onInserted(final Event evt) {
widget.fireEvent(new InsertedEvent(evt));
}
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
/**
* Can be override by subclasses to handle Tooltip's "show" event however
* it's recommended to add an event handler to the tooltip.
*
* @param evt Event
* @see org.gwtbootstrap3.client.shared.event.ShowEvent
*/
protected void onShow(final Event evt) {
widget.fireEvent(new ShowEvent(evt));
}
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
/**
* Can be override by subclasses to handle Tooltip's "hide" event however
* it's recommended to add an event handler to the tooltip.
*
* @param evt Event
* @see org.gwtbootstrap3.client.shared.event.HideEvent
*/
protected void onHide(final Event evt) {
widget.fireEvent(new HideEvent(evt));
}
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
/**
* Can be override by subclasses to handle Tooltip's "shown" event however
* it's recommended to add an event handler to the tooltip.
*
* @param evt Event
* @see ShownEvent
*/
protected void onShown(final Event evt) {
showing = true;
widget.fireEvent(new ShownEvent(evt));
}
代码示例来源:origin: org.kuali.student.core/ks-common-ui
/**
* Used to fire a SelectionChangeEvent
*
*/
public static void fire(Widget source) {
if (TYPE != null) {
SelectionChangeEvent event = new SelectionChangeEvent(source);
source.fireEvent(event);
}
}
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
/**
* Can be override by subclasses to handle Tooltip's "hidden" event however
* it's recommended to add an event handler to the tooltip.
*
* @param evt Event
* @see org.gwtbootstrap3.client.shared.event.HiddenEvent
*/
protected void onHidden(final Event evt) {
showing = false;
widget.fireEvent(new HiddenEvent(evt));
}
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
/**
* Can be override by subclasses to handle Tooltip's "shown" event however
* it's recommended to add an event handler to the tooltip.
*
* @param evt Event
* @see ShownEvent
*/
protected void onShown(final Event evt) {
showing = true;
widget.fireEvent(new ShownEvent(evt));
}
代码示例来源:origin: org.kie.workbench.forms/kie-wb-common-dynamic-forms-client
@Override
public void fireEvent(GwtEvent<?> event) {
asWidget().fireEvent(event);
}
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
/**
* Can be override by subclasses to handle Tooltip's "inserted" event however
* it's recommended to add an event handler to the tooltip.
*
* @param evt Event
* @see org.gwtbootstrap3.client.shared.event.InsertedEvent
*/
protected void onInserted(final Event evt) {
widget.fireEvent(new InsertedEvent(evt));
}
代码示例来源:origin: org.kuali.student.core/ks-common-ui
/**
* Used to fire a SelectionChangeEvent
*
*/
public static void fire(Widget source, boolean userInitiated) {
if (TYPE != null) {
SelectionChangeEvent event = new SelectionChangeEvent(source);
event.setUserInitiated(userInitiated);
source.fireEvent(event);
}
}
代码示例来源:origin: gwtbootstrap/gwt-bootstrap
/**
* This method is called immediately when the widget's {@link #hide()}
* method is executed.
*/
protected void onHide(Event e) {
widget.fireEvent(new HideEvent(e, getAutoTriggered(e)));
}
代码示例来源:origin: gwtbootstrap/gwt-bootstrap
/**
* This method is called once the widget is completely hidden.
*/
protected void onHidden(Event e) {
widget.fireEvent(new HiddenEvent(e, getAutoTriggered(e)));
}
代码示例来源:origin: gwtbootstrap/gwt-bootstrap
/**
* This method is called once the widget is completely shown.
*/
protected void onShown(Event e) {
widget.fireEvent(new ShownEvent(e, getAutoTriggered(e)));
}
}
代码示例来源:origin: gwtbootstrap/gwt-bootstrap
/**
* This method is called immediately when the widget's {@link #show()}
* method is executed.
*/
protected void onShow(Event e) {
widget.fireEvent(new ShowEvent(e, getAutoTriggered(e)));
}
内容来源于网络,如有侵权,请联系作者删除!