@Test public void testSelectedSuggestionChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedSuggestionChanged()); adapter.selectedSuggestionChanged(null, null); assertFalse(invoked[0]); adapter.setSelectedSuggestionChanged(callable); adapter.selectedSuggestionChanged(null, null); assertTrue(invoked[0]); }
public void selectedSuggestionChanged(org.apache.pivot.wtk.SuggestionPopup arg0, java.lang.Object arg1) { if (selectedSuggestionChanged != null) { selectedSuggestionChanged.call(arg0, arg1); } }
SuggestionPopupSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupSelectionListener { public void selectedSuggestionChanged(org.apache.pivot.wtk.SuggestionPopup arg0, java.lang.Object arg1) { if (selectedSuggestionChanged != null) { selectedSuggestionChanged.call(arg0, arg1); } } }
SuggestionPopupSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupSelectionListener { public void selectedSuggestionChanged(org.apache.pivot.wtk.SuggestionPopup arg0, java.lang.Object arg1) { if (selectedSuggestionChanged != null) { selectedSuggestionChanged.call(arg0, arg1); } }  }
SuggestionPopupSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupSelectionListener { public void selectedSuggestionChanged(org.apache.pivot.wtk.SuggestionPopup arg0, java.lang.Object arg1) { if (selectedSuggestionChanged != null) { selectedSuggestionChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedSuggestionChanged(); CallableWithArgs<Void> getSelectedIndexChanged(); void setSelectedSuggestionChanged(CallableWithArgs<Void> selectedSuggestionChanged); void setSelectedIndexChanged(CallableWithArgs<Void> selectedIndexChanged); void selectedSuggestionChanged(org.apache.pivot.wtk.SuggestionPopup arg0, java.lang.Object arg1); void selectedIndexChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1); }
SuggestionPopupSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupSelectionListener { public void selectedSuggestionChanged(org.apache.pivot.wtk.SuggestionPopup arg0, java.lang.Object arg1) { if (selectedSuggestionChanged != null) { selectedSuggestionChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedSuggestionChanged(); CallableWithArgs<Void> getSelectedIndexChanged(); void setSelectedSuggestionChanged(CallableWithArgs<Void> selectedSuggestionChanged); void setSelectedIndexChanged(CallableWithArgs<Void> selectedIndexChanged); void selectedSuggestionChanged(org.apache.pivot.wtk.SuggestionPopup arg0, java.lang.Object arg1); void selectedIndexChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1);  }