@Test public void testListSizeChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getListSizeChanged()); adapter.listSizeChanged(null, 0); assertFalse(invoked[0]); adapter.setListSizeChanged(callable); adapter.listSizeChanged(null, 0); assertTrue(invoked[0]); }
public void listSizeChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } }
SuggestionPopupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupListener { public void listSizeChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } } }
SuggestionPopupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupListener { public void listSizeChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } }  }
SuggestionPopupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupListener { public void listSizeChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getListSizeChanged(); CallableWithArgs<Void> getSuggestionDataChanged(); CallableWithArgs<Void> getSuggestionRendererChanged(); void setListSizeChanged(CallableWithArgs<Void> listSizeChanged); void setSuggestionDataChanged(CallableWithArgs<Void> suggestionDataChanged); void setSuggestionRendererChanged(CallableWithArgs<Void> suggestionRendererChanged); void listSizeChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1); void suggestionDataChanged(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.collections.List<?> arg1); void suggestionRendererChanged(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.wtk.ListView.ItemRenderer arg1); }
SuggestionPopupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupListener { public void listSizeChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getListSizeChanged(); CallableWithArgs<Void> getSuggestionDataChanged(); CallableWithArgs<Void> getSuggestionRendererChanged(); void setListSizeChanged(CallableWithArgs<Void> listSizeChanged); void setSuggestionDataChanged(CallableWithArgs<Void> suggestionDataChanged); void setSuggestionRendererChanged(CallableWithArgs<Void> suggestionRendererChanged); void listSizeChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1); void suggestionDataChanged(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.collections.List<?> arg1); void suggestionRendererChanged(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.wtk.ListView.ItemRenderer arg1);  }