com.google.gwt.event.shared.HasHandlers Java Examples

The following examples show how to use com.google.gwt.event.shared.HasHandlers. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CropEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, String result) {
    source.fireEvent(new CropEvent(result));
}
 
Example #2
Source File: StartEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, double value) {
    source.fireEvent(new StartEvent(value));
}
 
Example #3
Source File: SetPageTitleEvent.java    From gwt-material-demo with Apache License 2.0 4 votes vote down vote up
public static void fire(String title, String description, String link, String specification, HasHandlers source) {
    source.fireEvent(new SetPageTitleEvent(title, description, link, specification));
}
 
Example #4
Source File: LoadingEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source) {
    source.fireEvent(new LoadingEvent());
}
 
Example #5
Source File: SuccessEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source) {
    source.fireEvent(new SuccessEvent());
}
 
Example #6
Source File: CompleteEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, int lastStep) {
    source.fireEvent(new CompleteEvent(lastStep));
}
 
Example #7
Source File: LoadedEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, LoadResult<?> result) {
    source.fireEvent(new LoadedEvent(result));
}
 
Example #8
Source File: CompleteEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, int total) {
    source.fireEvent(new CompleteEvent(total));
}
 
Example #9
Source File: LoadingEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, int startIndex, int lastIndex) {
    source.fireEvent(new LoadingEvent(startIndex, lastIndex));
}
 
Example #10
Source File: ContentPushEvent.java    From gwt-material-demo with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source) {
    source.fireEvent(new ContentPushEvent());
}
 
Example #11
Source File: CloseCalendarEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, JsDateRange dateRange) {
    source.fireEvent(new CloseCalendarEvent(dateRange));
}
 
Example #12
Source File: ChangeEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, String message) {
    source.fireEvent(new ChangeEvent(message));
}
 
Example #13
Source File: MaterialWidgetTestCase.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
public void fireGestureStartEvent(HasHandlers widget) {
    DomEvent.fireNativeEvent(Document.get().createHtmlEvent(BrowserEvents.GESTURESTART, false, false), widget);
}
 
Example #14
Source File: PreviousCalendarEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, JsDateRange dateRange) {
    source.fireEvent(new PreviousCalendarEvent(dateRange));
}
 
Example #15
Source File: MaterialWidgetTestCase.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
public void fireKeyUpEvent(HasHandlers widget) {
    DomEvent.fireNativeEvent(Document.get().createKeyUpEvent(false, false, false, false, 1), widget);
}
 
Example #16
Source File: MaterialWidgetTestCase.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
public void fireGestureEndEvent(HasHandlers widget) {
    DomEvent.fireNativeEvent(Document.get().createHtmlEvent(BrowserEvents.GESTUREEND, false, false), widget);
}
 
Example #17
Source File: MaterialWidgetTestCase.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
public void fireDoubleClickEvent(HasHandlers widget) {
    DomEvent.fireNativeEvent(
        Document.get().createDblClickEvent(1, 1, 1, 1, 1, false, false, false, false),
        widget
    );
}
 
Example #18
Source File: RenderEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source) {
    source.fireEvent(new RenderEvent());
}
 
Example #19
Source File: CourseSelectionEvent.java    From unitime with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, RequestedCourse value) {
	source.fireEvent(new CourseSelectionEvent(value));
}
 
Example #20
Source File: SignatureEndEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source) {
    source.fireEvent(new SignatureEndEvent());
}
 
Example #21
Source File: MaterialValueBoxTest.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Override
public <H extends HasHandlers & IsWidget> void fireMouseOverEvent(H widget) {
    super.fireMouseOverEvent(((MaterialValueBox) widget).getValueBoxBase());
}
 
Example #22
Source File: MaterialValueBoxTest.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Override
public void fireMouseWheelEvent(HasHandlers widget) {
    super.fireMouseWheelEvent(((MaterialValueBox) widget).getValueBoxBase());
}
 
Example #23
Source File: MaterialValueBoxTest.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Override
public void fireMouseMoveEvent(HasHandlers widget) {
    super.fireMouseMoveEvent(((MaterialValueBox) widget).getValueBoxBase());
}
 
Example #24
Source File: ErrorEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source) {
    source.fireEvent(new ErrorEvent());
}
 
Example #25
Source File: MaterialValueBoxTest.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Override
public void fireMouseUpEvent(HasHandlers widget) {
    super.fireMouseUpEvent(((MaterialValueBox) widget).getValueBoxBase());
}
 
Example #26
Source File: MaterialValueBoxTest.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Override
public void fireTouchCancelEvent(HasHandlers widget) {
    super.fireTouchCancelEvent(((MaterialValueBox) widget).getValueBoxBase());
}
 
Example #27
Source File: MaterialValueBoxTest.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Override
public void fireTouchEndEvent(HasHandlers widget) {
    super.fireTouchEndEvent(((MaterialValueBox) widget).getValueBoxBase());
}
 
Example #28
Source File: TotalUploadProgressEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source, double progress) {
    source.fireEvent(new TotalUploadProgressEvent(progress));
}
 
Example #29
Source File: LayoutCompleteEvent.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public static void fire(HasHandlers source) {
    source.fireEvent(new LayoutCompleteEvent());
}
 
Example #30
Source File: MaterialValueBoxTest.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Override
public void fireGestureEndEvent(HasHandlers widget) {
    super.fireGestureEndEvent(((MaterialValueBox) widget).getValueBoxBase());
}