@Test public void testSuggestionPopupClosed() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSuggestionPopupClosed()); adapter.suggestionPopupClosed(null); assertFalse(invoked[0]); adapter.setSuggestionPopupClosed(callable); adapter.suggestionPopupClosed(null); assertTrue(invoked[0]); }
public void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0) { if (suggestionPopupClosed != null) { suggestionPopupClosed.call(arg0); } }
SuggestionPopupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupStateListener { public void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0) { if (suggestionPopupClosed != null) { suggestionPopupClosed.call(arg0); } } }
SuggestionPopupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupStateListener { public void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0) { if (suggestionPopupClosed != null) { suggestionPopupClosed.call(arg0); } }  }
SuggestionPopupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupStateListener { public void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0) { if (suggestionPopupClosed != null) { suggestionPopupClosed.call(arg0); } }  CallableWithArgs<Vote> getPreviewSuggestionPopupClose(); CallableWithArgs<Void> getSuggestionPopupCloseVetoed(); CallableWithArgs<Void> getSuggestionPopupClosed(); void setPreviewSuggestionPopupClose(CallableWithArgs<Vote> previewSuggestionPopupClose); void setSuggestionPopupCloseVetoed(CallableWithArgs<Void> suggestionPopupCloseVetoed); void setSuggestionPopupClosed(CallableWithArgs<Void> suggestionPopupClosed); org.apache.pivot.util.Vote previewSuggestionPopupClose(org.apache.pivot.wtk.SuggestionPopup arg0, boolean arg1); void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1); void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0); }
SuggestionPopupStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupStateListener { public void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0) { if (suggestionPopupClosed != null) { suggestionPopupClosed.call(arg0); } }  CallableWithArgs<Vote> getPreviewSuggestionPopupClose(); CallableWithArgs<Void> getSuggestionPopupCloseVetoed(); CallableWithArgs<Void> getSuggestionPopupClosed(); void setPreviewSuggestionPopupClose(CallableWithArgs<Vote> previewSuggestionPopupClose); void setSuggestionPopupCloseVetoed(CallableWithArgs<Void> suggestionPopupCloseVetoed); void setSuggestionPopupClosed(CallableWithArgs<Void> suggestionPopupClosed); org.apache.pivot.util.Vote previewSuggestionPopupClose(org.apache.pivot.wtk.SuggestionPopup arg0, boolean arg1); void suggestionPopupCloseVetoed(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.util.Vote arg1); void suggestionPopupClosed(org.apache.pivot.wtk.SuggestionPopup arg0);  }