@Test public void testTabsRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getTabsRemoved()); adapter.tabsRemoved(null, 0, null); assertFalse(invoked[0]); adapter.setTabsRemoved(callable); adapter.tabsRemoved(null, 0, null); assertTrue(invoked[0]); }
public void tabsRemoved(org.apache.pivot.wtk.TabPane arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (tabsRemoved != null) { tabsRemoved.call(arg0, arg1, arg2); } }
TabPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TabPaneListener { public void tabsRemoved(org.apache.pivot.wtk.TabPane arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (tabsRemoved != null) { tabsRemoved.call(arg0, arg1, arg2); } } }
TabPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TabPaneListener { public void tabsRemoved(org.apache.pivot.wtk.TabPane arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (tabsRemoved != null) { tabsRemoved.call(arg0, arg1, arg2); } }  }
TabPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TabPaneListener { public void tabsRemoved(org.apache.pivot.wtk.TabPane arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (tabsRemoved != null) { tabsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getTabInserted(); CallableWithArgs<Vote> getPreviewRemoveTabs(); CallableWithArgs<Void> getRemoveTabsVetoed(); CallableWithArgs<Void> getTabsRemoved(); CallableWithArgs<Void> getTabDataRendererChanged(); CallableWithArgs<Void> getCloseableChanged(); CallableWithArgs<Void> getCollapsibleChanged(); CallableWithArgs<Void> getCornerChanged(); void setTabInserted(CallableWithArgs<Void> tabInserted); void setPreviewRemoveTabs(CallableWithArgs<Vote> previewRemoveTabs); void setRemoveTabsVetoed(CallableWithArgs<Void> removeTabsVetoed); void setTabsRemoved(CallableWithArgs<Void> tabsRemoved); void setTabDataRendererChanged(CallableWithArgs<Void> tabDataRendererChanged); void setCloseableChanged(CallableWithArgs<Void> closeableChanged); void setCollapsibleChanged(CallableWithArgs<Void> collapsibleChanged); void setCornerChanged(CallableWithArgs<Void> cornerChanged); void tabInserted(org.apache.pivot.wtk.TabPane arg0, int arg1); org.apache.pivot.util.Vote previewRemoveTabs(org.apache.pivot.wtk.TabPane arg0, int arg1, int arg2); void removeTabsVetoed(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.util.Vote arg1); void tabsRemoved(org.apache.pivot.wtk.TabPane arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void tabDataRendererChanged(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.wtk.Button.DataRenderer arg1); void closeableChanged(org.apache.pivot.wtk.TabPane arg0); void collapsibleChanged(org.apache.pivot.wtk.TabPane arg0); void cornerChanged(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.wtk.Component arg1); }
TabPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TabPaneListener { public void tabsRemoved(org.apache.pivot.wtk.TabPane arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2) { if (tabsRemoved != null) { tabsRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getTabInserted(); CallableWithArgs<Vote> getPreviewRemoveTabs(); CallableWithArgs<Void> getRemoveTabsVetoed(); CallableWithArgs<Void> getTabsRemoved(); CallableWithArgs<Void> getTabDataRendererChanged(); CallableWithArgs<Void> getCloseableChanged(); CallableWithArgs<Void> getCollapsibleChanged(); CallableWithArgs<Void> getCornerChanged(); void setTabInserted(CallableWithArgs<Void> tabInserted); void setPreviewRemoveTabs(CallableWithArgs<Vote> previewRemoveTabs); void setRemoveTabsVetoed(CallableWithArgs<Void> removeTabsVetoed); void setTabsRemoved(CallableWithArgs<Void> tabsRemoved); void setTabDataRendererChanged(CallableWithArgs<Void> tabDataRendererChanged); void setCloseableChanged(CallableWithArgs<Void> closeableChanged); void setCollapsibleChanged(CallableWithArgs<Void> collapsibleChanged); void setCornerChanged(CallableWithArgs<Void> cornerChanged); void tabInserted(org.apache.pivot.wtk.TabPane arg0, int arg1); org.apache.pivot.util.Vote previewRemoveTabs(org.apache.pivot.wtk.TabPane arg0, int arg1, int arg2); void removeTabsVetoed(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.util.Vote arg1); void tabsRemoved(org.apache.pivot.wtk.TabPane arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void tabDataRendererChanged(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.wtk.Button.DataRenderer arg1); void closeableChanged(org.apache.pivot.wtk.TabPane arg0); void collapsibleChanged(org.apache.pivot.wtk.TabPane arg0); void cornerChanged(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.wtk.Component arg1);  }