@Test public void testSelectedIndexChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedIndexChanged()); adapter.selectedIndexChanged(null, 0); assertFalse(invoked[0]); adapter.setSelectedIndexChanged(callable); adapter.selectedIndexChanged(null, 0); assertTrue(invoked[0]); }
public void selectedIndexChanged(org.apache.pivot.wtk.CardPane arg0, int arg1) { if (selectedIndexChanged != null) { selectedIndexChanged.call(arg0, arg1); } }
CardPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CardPaneListener { public void selectedIndexChanged(org.apache.pivot.wtk.CardPane arg0, int arg1) { if (selectedIndexChanged != null) { selectedIndexChanged.call(arg0, arg1); } } }
CardPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CardPaneListener { public void selectedIndexChanged(org.apache.pivot.wtk.CardPane arg0, int arg1) { if (selectedIndexChanged != null) { selectedIndexChanged.call(arg0, arg1); } }  }
CardPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CardPaneListener { public void selectedIndexChanged(org.apache.pivot.wtk.CardPane arg0, int arg1) { if (selectedIndexChanged != null) { selectedIndexChanged.call(arg0, arg1); } }  CallableWithArgs<Vote> getPreviewSelectedIndexChange(); CallableWithArgs<Void> getSelectedIndexChanged(); CallableWithArgs<Void> getSelectedIndexChangeVetoed(); void setPreviewSelectedIndexChange(CallableWithArgs<Vote> previewSelectedIndexChange); void setSelectedIndexChanged(CallableWithArgs<Void> selectedIndexChanged); void setSelectedIndexChangeVetoed(CallableWithArgs<Void> selectedIndexChangeVetoed); org.apache.pivot.util.Vote previewSelectedIndexChange(org.apache.pivot.wtk.CardPane arg0, int arg1); void selectedIndexChanged(org.apache.pivot.wtk.CardPane arg0, int arg1); void selectedIndexChangeVetoed(org.apache.pivot.wtk.CardPane arg0, org.apache.pivot.util.Vote arg1); }
CardPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.CardPaneListener { public void selectedIndexChanged(org.apache.pivot.wtk.CardPane arg0, int arg1) { if (selectedIndexChanged != null) { selectedIndexChanged.call(arg0, arg1); } }  CallableWithArgs<Vote> getPreviewSelectedIndexChange(); CallableWithArgs<Void> getSelectedIndexChanged(); CallableWithArgs<Void> getSelectedIndexChangeVetoed(); void setPreviewSelectedIndexChange(CallableWithArgs<Vote> previewSelectedIndexChange); void setSelectedIndexChanged(CallableWithArgs<Void> selectedIndexChanged); void setSelectedIndexChangeVetoed(CallableWithArgs<Void> selectedIndexChangeVetoed); org.apache.pivot.util.Vote previewSelectedIndexChange(org.apache.pivot.wtk.CardPane arg0, int arg1); void selectedIndexChanged(org.apache.pivot.wtk.CardPane arg0, int arg1); void selectedIndexChangeVetoed(org.apache.pivot.wtk.CardPane arg0, org.apache.pivot.util.Vote arg1);  }