@Test public void testEnabledChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getEnabledChanged()); adapter.enabledChanged(null); assertFalse(invoked[0]); adapter.setEnabledChanged(callable); adapter.enabledChanged(null); assertTrue(invoked[0]); }
public void enabledChanged(org.apache.pivot.wtk.Component arg0) { if (enabledChanged != null) { enabledChanged.call(arg0); } }
ComponentStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentStateListener { public void enabledChanged(org.apache.pivot.wtk.Component arg0) { if (enabledChanged != null) { enabledChanged.call(arg0); } } }
ComponentStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentStateListener { public void enabledChanged(org.apache.pivot.wtk.Component arg0) { if (enabledChanged != null) { enabledChanged.call(arg0); } }  }
ComponentStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentStateListener { public void enabledChanged(org.apache.pivot.wtk.Component arg0) { if (enabledChanged != null) { enabledChanged.call(arg0); } }  CallableWithArgs<Void> getEnabledChanged(); CallableWithArgs<Void> getFocusedChanged(); void setEnabledChanged(CallableWithArgs<Void> enabledChanged); void setFocusedChanged(CallableWithArgs<Void> focusedChanged); void enabledChanged(org.apache.pivot.wtk.Component arg0); void focusedChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Component arg1); }
ComponentStateAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentStateListener { public void enabledChanged(org.apache.pivot.wtk.Component arg0) { if (enabledChanged != null) { enabledChanged.call(arg0); } }  CallableWithArgs<Void> getEnabledChanged(); CallableWithArgs<Void> getFocusedChanged(); void setEnabledChanged(CallableWithArgs<Void> enabledChanged); void setFocusedChanged(CallableWithArgs<Void> focusedChanged); void enabledChanged(org.apache.pivot.wtk.Component arg0); void focusedChanged(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Component arg1);  }