private static void hookWindowClosing() { Impl.scheduleDispose(new Disposable() { @Override public void dispose() { detachWidgets(); } }); // Catch the window closing event. Window.addCloseHandler(new CloseHandler<Window>() { @Override public void onClose(CloseEvent<Window> closeEvent) { detachWidgets(); } }); }
public static int identityHashCode(Object o) { return (o == null) ? 0 : (!(o instanceof String)) ? Impl.getHashCode(o) : String.HashCache.getHashCode((String) o); }
private void cancelTimer() { if (timeoutMillis > 0) { Impl.clearTimeout(timerId); } }
public int hashCode() { return Impl.getHashCode(this); }
@Override public boolean isInProcess() { return Impl.isEntryOnStack(); }