@Test public void testStyleUpdated() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getStyleUpdated()); adapter.styleUpdated(null, null, null); assertFalse(invoked[0]); adapter.setStyleUpdated(callable); adapter.styleUpdated(null, null, null); assertTrue(invoked[0]); }
public void styleUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2) { if (styleUpdated != null) { styleUpdated.call(arg0, arg1, arg2); } }
ComponentStyleAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentStyleListener { public void styleUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2) { if (styleUpdated != null) { styleUpdated.call(arg0, arg1, arg2); } } }
ComponentStyleAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentStyleListener { public void styleUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2) { if (styleUpdated != null) { styleUpdated.call(arg0, arg1, arg2); } }  }
ComponentStyleAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentStyleListener { public void styleUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2) { if (styleUpdated != null) { styleUpdated.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getStyleUpdated(); void setStyleUpdated(CallableWithArgs<Void> styleUpdated); void styleUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2); }
ComponentStyleAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentStyleListener { public void styleUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2) { if (styleUpdated != null) { styleUpdated.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getStyleUpdated(); void setStyleUpdated(CallableWithArgs<Void> styleUpdated); void styleUpdated(org.apache.pivot.wtk.Component arg0, java.lang.String arg1, java.lang.Object arg2);  }