@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.ListButton arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } }
ListButtonAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonListener { public void listSizeChanged(org.apache.pivot.wtk.ListButton arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } } }
ListButtonAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonListener { public void listSizeChanged(org.apache.pivot.wtk.ListButton arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } }  }
ListButtonAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonListener { public void listSizeChanged(org.apache.pivot.wtk.ListButton arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getListDataChanged(); CallableWithArgs<Void> getItemRendererChanged(); CallableWithArgs<Void> getRepeatableChanged(); CallableWithArgs<Void> getDisabledItemFilterChanged(); CallableWithArgs<Void> getListSizeChanged(); void setListDataChanged(CallableWithArgs<Void> listDataChanged); void setItemRendererChanged(CallableWithArgs<Void> itemRendererChanged); void setRepeatableChanged(CallableWithArgs<Void> repeatableChanged); void setDisabledItemFilterChanged(CallableWithArgs<Void> disabledItemFilterChanged); void setListSizeChanged(CallableWithArgs<Void> listSizeChanged); void listDataChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.collections.List<?> arg1); void itemRendererChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.ListView.ItemRenderer arg1); void repeatableChanged(org.apache.pivot.wtk.ListButton arg0); void disabledItemFilterChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.util.Filter<?> arg1); void listSizeChanged(org.apache.pivot.wtk.ListButton arg0, int arg1); }
ListButtonAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ListButtonListener { public void listSizeChanged(org.apache.pivot.wtk.ListButton arg0, int arg1) { if (listSizeChanged != null) { listSizeChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getListDataChanged(); CallableWithArgs<Void> getItemRendererChanged(); CallableWithArgs<Void> getRepeatableChanged(); CallableWithArgs<Void> getDisabledItemFilterChanged(); CallableWithArgs<Void> getListSizeChanged(); void setListDataChanged(CallableWithArgs<Void> listDataChanged); void setItemRendererChanged(CallableWithArgs<Void> itemRendererChanged); void setRepeatableChanged(CallableWithArgs<Void> repeatableChanged); void setDisabledItemFilterChanged(CallableWithArgs<Void> disabledItemFilterChanged); void setListSizeChanged(CallableWithArgs<Void> listSizeChanged); void listDataChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.collections.List<?> arg1); void itemRendererChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.wtk.ListView.ItemRenderer arg1); void repeatableChanged(org.apache.pivot.wtk.ListButton arg0); void disabledItemFilterChanged(org.apache.pivot.wtk.ListButton arg0, org.apache.pivot.util.Filter<?> arg1); void listSizeChanged(org.apache.pivot.wtk.ListButton arg0, int arg1);  }