@Override public void show() { hiding = false; // ** Copied from PopupView ** // Find the shortcut action handler that should handle keyboard // events from the popup. The events do not propagate automatically // because the popup is directly attached to the RootPanel. Widget widget = VPopupButton.this; while (shortcutActionHandler == null && widget != null) { if (widget instanceof ShortcutActionHandler.ShortcutActionHandlerOwner) { shortcutActionHandler = ((ShortcutActionHandler.ShortcutActionHandlerOwner) widget) .getShortcutActionHandler(); } widget = widget.getParent(); } super.show(); }
@Override public void show() { hiding = false; // ** Copied from PopupView ** // Find the shortcut action handler that should handle keyboard // events from the popup. The events do not propagate automatically // because the popup is directly attached to the RootPanel. Widget widget = VPopupButton.this; while (shortcutActionHandler == null && widget != null) { if (widget instanceof ShortcutActionHandler.ShortcutActionHandlerOwner) { shortcutActionHandler = ((ShortcutActionHandler.ShortcutActionHandlerOwner) widget) .getShortcutActionHandler(); } widget = widget.getParent(); } super.show(); }
@Override public void show() { hiding = false; // ** Copied from PopupView ** // Find the shortcut action handler that should handle keyboard // events from the popup. The events do not propagate automatically // because the popup is directly attached to the RootPanel. Widget widget = VPopupButton.this; while (shortcutActionHandler == null && widget != null) { if (widget instanceof ShortcutActionHandler.ShortcutActionHandlerOwner) { shortcutActionHandler = ((ShortcutActionHandler.ShortcutActionHandlerOwner) widget) .getShortcutActionHandler(); } widget = widget.getParent(); } super.show(); }