public void onClose(CloseEvent<PopupPanel> event) { lastKey = null; lastValue = null; lastIndex = -1; lastColumn = -1; if (lastParent != null && !event.isAutoClosed()) { // Refocus on the containing cell after the user selects a value, but // not if the popup is auto closed. lastParent.focus(); } lastParent = null; } });
public void onClose(CloseEvent<PopupPanel> event) { getListener().onPopupClosed((PopupPanel) event.getSource(), event.isAutoClosed()); } }
@Override public void onClose(CloseEvent<PopupPanel> rEvent) { if (rEvent.isAutoClosed()) { hideComplexFilterPopup(false); } } });
public void onClose(CloseEvent<PopupPanel> event) { lastKey = null; lastValue = null; lastIndex = -1; lastColumn = -1; if (lastParent != null && !event.isAutoClosed()) { // Refocus on the containing cell after the user selects a value, but // not if the popup is auto closed. lastParent.focus(); } lastParent = null; } });
public void onClose(CloseEvent<PopupPanel> popupPanelCloseEvent) { if (popupPanelCloseEvent.isAutoClosed()) { button.setActive(false); } } });
public void onClose(CloseEvent<PopupPanel> popupPanelCloseEvent) { if (popupPanelCloseEvent.isAutoClosed()) { button.setActive(false); } } });
public void onClose(CloseEvent<PopupPanel> event) { lastKey = null; lastValue = null; lastIndex = -1; lastColumn = -1; if (lastParent != null && !event.isAutoClosed()) { // Refocus on the containing cell after the user selects a value, but // not if the popup is auto closed. lastParent.focus(); } lastParent = null; } });
public void onClose(CloseEvent<PopupPanel> event) { getListener().onPopupClosed((PopupPanel) event.getSource(), event.isAutoClosed()); } }
public void onClose(CloseEvent<PopupPanel> event) { getListener().onPopupClosed((PopupPanel) event.getSource(), event.isAutoClosed()); } }
private void createChildPopup(Pair<List<MenuItem>, String> children) { childList = new ItemsList(children.first, dataProvider, resources, "Execute on:"); getActionHandler().ifPresent(actionHandler -> childList.setActionHandler(actionHandler)); childList.setPopupPosition(getAbsoluteLeft() + getOffsetWidth(), getAbsoluteTop()); childList.show(); childList.setAutoHideEnabled(false); childList.setAnimationEnabled(false); childList.addCloseHandler( event -> { if (event.isAutoClosed()) { hide(); } }); } }
private void addHandlers() { addCloseHandler( event -> { if (event.isAutoClosed()) { delegate.onCanceled();
private void addHandlers() { addCloseHandler( event -> { if (event.isAutoClosed()) { delegate.onCanceled();